wood burning stoves 2.0*
The moose likes Java in General and the fly likes stack and heap memory 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 » Java in General
Bookmark "stack and heap memory" Watch "stack and heap memory" New topic
Author

stack and heap memory

jose chiramal
Ranch Hand

Joined: Feb 12, 2010
Posts: 266
Is there any way to find out the stack memory and the heap memory ?

There are two methods in the runtime calss namely : totalMemory() and maxMemory().
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: stack and heap memory
 
Similar Threads
What is Stack memory & heap memory
When will a variable use memory from stack and when will use memory from heap?
Stack n Heap
When will a variable use memory from stack and when will use memory from heap?
JVM memory management