It depends also to the start parameter of the JVM, e.g. Xms Xmx and whether the complete memory is allocated or virtual (see startup and boot.log to see full JVM params).
Also I recommend to use the latest JVM version of 1.5 (if you use this), but remember the 1.6 will be better and often faster (depend to the application).