php hit counter

Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
difference between Heap and Stack memory
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support
#3
Stack is used for static memory allocation and Heap for dynamic memory allocation, both stored in the computer's RAM .

You can use the stack if you know exactly how much data you need to allocate before compile time and it is not too big. You can use heap if you don't know exactly how much data you will need at runtime or if you need to allocate a lot of data.

More about.......Stack and Heap

Helsy
Reply


Messages In This Thread
difference between Heap and Stack memory - by helsywarner - 03-30-2015, 04:29 PM
difference between Heap and Stack memory - by Xpert - 04-01-2015, 03:36 PM

Possibly Related Threads…
Thread Author Replies Views Last Post
  Difference between java netbeans and tomcat 6.0 Xpert 0 2,289 06-23-2011, 11:38 PM
Last Post: Xpert
  Difference between Java and Netbeans 2011 Xpert 0 3,121 05-11-2011, 04:59 PM
Last Post: Xpert
  what is the difference between Static method and the method we write in Clas saneha 1 4,843 04-28-2011, 09:12 PM
Last Post: Vuhelper
  OPERATOR OVERLOADING,UFFER OVERFLOW and MEMORY LEAKAGE,MULTI THREADED and CONCURRENCY saneha 1 2,694 04-28-2011, 08:53 PM
Last Post: Vuhelper
  what is the difference between Java and Java 2EE saneha 1 2,146 04-28-2011, 08:50 PM
Last Post: Vuhelper
  whats the difference in node stream and filter stream? saneha 1 2,856 04-27-2011, 11:00 PM
Last Post: Vuhelper
  What is the difference between Java and Java 2EE saneha 1 2,021 04-27-2011, 06:25 AM
Last Post: Vuhelper
  Explain the difference between 2-tier and 3 tier client server model. saneha 1 7,747 04-27-2011, 06:20 AM
Last Post: Vuhelper
  Difference between Bean, Enterprise Java Bean and Managed Bean saneha 1 3,057 04-27-2011, 06:14 AM
Last Post: Vuhelper
  difference between javaServer pages and javaServer faces saneha 1 2,215 04-26-2011, 11:03 PM
Last Post: Vuhelper

Forum Jump:


Users browsing this thread: 1 Guest(s)
VU Help • House Banner VU Help Virtual University Students - Assignments, Solved Papers, GDB & Exam Help Student Help Forum • Collaborative • Free Support