This week's book giveaway is in the Big Data forum.
We're giving away four copies of Elasticsearch in Action and have Radu Gheorghe & Matthew Lee Hinman on-line!
See this thread for details.
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 Elasticsearch in Action this week in the Big Data 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: 5850

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
I agree. Here's the link:
subject: Maximum Ram on 64 bit ubuntu