+ 1
Is there any way to check how much memory used by C code during runtime...?
I am using vscode and gcc Compiler, and working on certain c project.. I want make this project memory efficient, so I want to know how memory, stack or heap used by code during runtime, is there any way to do it.....?
1 Réponse
+ 1
Even if you know how much memory you are utilising , what is benchmark to decide what ever you are utilising is best or not.... Additionally, there is always trade off between the speed and memory.
IMHO, you should write effective code and learn how to do so.....Still let's wait for others to respond on memory utilisation....