View Single Post
  #2 (permalink)  
Old 07-02-2008, 03:57 PM
danielstoner's Avatar
danielstoner danielstoner is offline
Senior Member
 
Join Date: Apr 2008
Location: Canada
Posts: 191
danielstoner is on a distinguished road
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
Reply With Quote