We are about to switch to a new forum software. Until then we have removed the registration on this forum.
Hi I've written a rather complex program with a genetic/evolutionary algorithm. It uses, according to the Activity monitor about 4 GB of memory after 10 min and stays there after its reached 4GB. Now I'd like to have my program display how much memory it's using without me having to have to look at the Activity monitor. Is there a way to get the current memory usage inside of a Processing sketch?
douira
Answers
If you're in Java mode, then anything you can do in Java, you can do in Processing. This is the first result for googling "java get memory consumption": http://stackoverflow.com/questions/74674/how-to-do-i-check-cpu-and-memory-usage-in-java
Thanks. (I should have thought of that... )