Granny's Programming Pearls
"inside of every large program is a small program struggling to get out"
JavaRanch.com/granny.jsp
The moose likes Linux / UNIX and the fly likes Maximum Ram on 64 bit ubuntu Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of OCM Java EE 6 Enterprise Architect Exam Guide this week in the OCMJEA forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Maximum Ram on 64 bit ubuntu" Watch "Maximum Ram on 64 bit ubuntu" New topic
Author

Maximum Ram on 64 bit ubuntu

Matt Elliott
Greenhorn

Joined: Feb 21, 2009
Posts: 14
I have a 16 gig, 64 bit Ubuntu system and i'm wondering if the Java SE has a maxium heap size?
Peter Johnson
author
Bartender

Joined: May 14, 2008
Posts: 5823
    
    7

If you have a 64-bit JVM, the limit is very large (much larger than 16GB!). If you have a 32-bit JVM, the limit is around 2.7GB.


JBoss In Action
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
 
subject: Maximum Ram on 64 bit ubuntu