Get amount of memory used by sketch

edited August 2015 in How To...

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

Sign In or Register to comment.