Horacio Hoyos Messages: 177 Registered: October 2009 Location: UK
If you have the standalone jar just check your system resources (e.g. windows task manager) when you run it. If you are interested in more detailed information you need a performance library, e.g. Oracle's Mission Control
by using Runtime.getRuntime.totalMemory() and Runtime.getRuntime.freeMemory() we can calculate how much space has been currently occupied by Java object or you say used memory in JVM as show in below code example of getting memory sizes in Java.