aspose file tools*
The moose likes Java in General and the fly likes JVM memory management Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "JVM memory management" Watch "JVM memory management" New topic
Author

JVM memory management

Prakash Rai
Ranch Hand

Joined: Jan 10, 2011
Posts: 103

What is Heap and stack memory?
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

This is a common question asked. Might be useful to search in the forum >> SearchFirst

Mohamed Sanaulla | My Blog
Prakash Rai
Ranch Hand

Joined: Jan 10, 2011
Posts: 103

Mohamed Sanaulla wrote:This is a common question asked. Might be useful to search in the forum >> SearchFirst
I am not able to search.am not getting please give me any link
Jesper de Jong
Java Cowboy
Saloon Keeper

Joined: Aug 16, 2005
Posts: 14352
    
  22

Somprakash Rai wrote:I am not able to search.am not getting please give me any link

Why not? Look at the top right of the page. Just under the words "The Big Moose Saloon" there is a whole list of links. The top left link is titled "Search". Click on that. It will take you to a page where you can fill in what to search for. Type in some words, for example "heap memory" and click the search button. Then look if it found something interesting. Ofcourse you could also search on Google, for example for "java heap stack".

The heap is the main area of memory where all objects are stored.

The stack is a special memory area where local variables are allocated and where other information is stored that is necessary for nested method calls, such as where execution should go to when the method finishes.

Java Beginners FAQ - JavaRanch SCJP FAQ - The Java Tutorial - Java SE 8 API documentation
Kaustav Ganguly
Greenhorn

Joined: Dec 14, 2009
Posts: 28
Refer the link http://www.vedantatree.com/2010/08/how-does-java-manage-memory.html

It has a good explanation.
Mohamed Sanaulla
Saloon Keeper

Joined: Sep 08, 2007
Posts: 3071
    
  33

Somprakash Rai wrote:
Mohamed Sanaulla wrote:This is a common question asked. Might be useful to search in the forum >> SearchFirst
I am not able to search.am not getting please give me any link

If you had visited the link in SearchFirst there's a brief description of what all possible ways of search.

PS: This is information is just for your help in future.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: JVM memory management