I am new to Swift and have been playing around in Xcode and following tutorials but I have noticed that even when following these tutorials the 'swift-frontend' process is taking in excess of 50GB of memory once hitting 80GB.
I have a Mackbook Pro with 16GB or RAM but cant figure out what is wrong. I did read about memory leaks but wouldn't thing it was an issue as I have learning by copying code from a tutorial.
I'm very unsure though as to what is happening and how to fix it and am hoping I could get some help here.