Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

JVM memory management

 
Prakash Rai
Ranch Hand
Posts: 106
Eclipse IDE MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
What is Heap and stack memory?
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
This is a common question asked. Might be useful to search in the forum >> SearchFirst
 
Prakash Rai
Ranch Hand
Posts: 106
Eclipse IDE MyEclipse IDE
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 15274
38
Android IntelliJ IDE Java Scala Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Kaustav Ganguly
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Refer the link http://www.vedantatree.com/2010/08/how-does-java-manage-memory.html

It has a good explanation.
 
Mohamed Sanaulla
Saloon Keeper
Posts: 3159
33
Google App Engine Java Ruby
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic