wood burning stoves 2.0*
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 OCA/OCP Java SE 7 Programmer I & II Study Guide this week in the OCPJP forum!
JavaRanch » Java Forums » Engineering » Linux / UNIX
Bookmark "Maximum Ram on 64 bit ubuntu" Watch "Maximum Ram on 64 bit ubuntu" New topic

Maximum Ram on 64 bit ubuntu

Matt Elliott

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

Joined: May 14, 2008
Posts: 5838

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
jQuery in Action, 2nd edition
subject: Maximum Ram on 64 bit ubuntu