• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

JVM memory management

 
Ranch Hand
Posts: 107
MyEclipse IDE Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
What is Heap and stack memory?
 
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 107
MyEclipse IDE Eclipse IDE
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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

 
Java Cowboy
Posts: 16084
88
Android Scala IntelliJ IDE Spring Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
Greenhorn
Posts: 28
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 3225
34
IntelliJ IDE Oracle Spring Chrome Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic