Add debugging
whiterook6 opened this issue · 1 comments
whiterook6 commented
In the console, print
- memory footprint
- sizes of images
- which images were loaded
- resulting scores
- how many victors, losers
etc.
whiterook6 commented
according to stack (http://stackoverflow.com/questions/17374743/how-can-i-get-the-memory-that-my-java-program-uses-via-javas-runtime-api):
Runtime.getRuntime().totalMemory() - Runtime.getRuntime().freeMemory()
is the code to use.