|
Depends on what you want: physical RAM on the machine or RAM available to JVM.
You could use JNI to get the information in an OS specific mode or you can use java.lang.management classes.
__________________
Daniel @ [ To view links or images in signatures your post count must be 10 or greater. You currently have 0 posts. ]
Language is froth on the surface of thought
|