Cache Files consumes a lot of memory. How can I delete them?
It has Free memory in the photo but when I run my project, my project crashes because the required memory exceeds the available. My problem is that the 'Cached Files' Memory does not decrease when my program runs. When I run my project, it increases memory consumption and just crash because of memory shortage without 'Cached File' being adjusted.
Honestly, cached files over 11GB is quite illogical. I don't use other apps except for chrome and vscode but why there's 11GB of cached files? From the Apple's logic that it is for future usage of some apps, 'Cached' should be 0 when I open both chrome and vscode, but it does not.
How can I turn it off? I really need this to turn off. What is the advantage of using 32G ram if 1/3 of it is being not used.