Meaningless Drivel is fun!*
The moose likes Beginning Java and the fly likes How low can you go? Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "How low can you go?" Watch "How low can you go?" New topic
Author

How low can you go?

Belinda Lawson
Greenhorn

Joined: Feb 10, 2007
Posts: 10
One can cap the java heap using -Xmx, but that's not the total rss footprint seen by the operating system with tools like top.

So i ask you:
In theory, what is the smallest memory footprint possible for a java program?
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14074
    
  16

The JVM needs some memory to do its work, and how much it uses is unspecified (and differs from one JVM version to the next). It depends on the implementation of the JVM. So your question can't be answered with a simple number.


Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 7 API documentation
Scala Notes - My blog about Scala
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: How low can you go?
 
Similar Threads
Bulk data processing on J2EE container
Reading from XML file
JBoss 5
what are Leftists?
JVM memory use