What is a memory footprint? How can you specify the lower and upper limits of the RAM used by the JVM? What happens when the JVM needs more memory

Showing Answers 1 - 3 of 3 Answers

Ashutosh Gupta

  • Jun 26th, 2005
 

when JVM needs more memory then it does the garbage collection, and sweeps all the memory which is not being used.

  Was this answer useful?  Yes

suken

  • Oct 17th, 2005
 

Memory footprint : is the amount of memory a particular application is using.The JVM keeps a check on this by its sandbox mechanism. The sandbax always has the correct knowledge of the amount of space a particular program is using. Many time in real world scenrios the amt of memory alloted to a program is too small , we can increase the memory by using the command line argument java - Xms - for the miimum size of memory alloted java - Xmx - for the maximum sze of the memory alloted. This is a mechanism of tweaking the sandbox. If an application is using more memory then what is alloted to it, the jvm will invoke the GC. If still the memory needed is more the aplication will crash.

Pardeep Saini

  • Dec 11th, 2005
 

Sandbox model is employed in JVM for accessing the applets and it is in the Java Enabled Browser. It is just a security check that an applet can communicate with a single remote computer from which it is downloaded. Then how the memory is provided by Sandbox mechanism.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions