Results 1 to 2 of 2
Thread: Help with heap and stack
- 08-06-2007, 03:00 AM #1
Member
- Join Date
- Jul 2007
- Posts
- 39
- Rep Power
- 0
- 08-06-2007, 02:21 PM #2
Member
- Join Date
- Aug 2007
- Posts
- 47
- Rep Power
- 0
Stack and Heap
Hi,
The stack is the portion of memory where at run time ,when a method is invocked, memory is allocated for the local varaiables of the invocked method.
So we can see it as a dynamic memory because its allocated at runtime.
Heap is the portion of memory that is allocated at the begin of an applications and it remaines till the application terminates..so we can see it as a ststic memory.
Bye.
Similar Threads
-
JVm Heap memory settings
By nagesh in forum Advanced JavaReplies: 2Last Post: 09-17-2009, 05:47 PM -
Heap Sorting
By kesav2005 in forum New To JavaReplies: 1Last Post: 11-13-2007, 04:04 PM -
Heap Sort
By kesav2005 in forum Advanced JavaReplies: 1Last Post: 11-13-2007, 11:40 AM -
when objects are removed from heap
By Java Tip in forum Java TipReplies: 0Last Post: 11-09-2007, 04:25 PM -
setting JVM Heap sitze
By Java Tip in forum Java TipReplies: 0Last Post: 11-09-2007, 04:21 PM
Bookmarks