Possible Duplicate:
What and where are the stack and heap
Where is heap memory and stack memory stored?I mean where on the harddisk?what are the limits of their size?
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
You should consider memory and hard-disk as opposites.
Memory is the more expensive stuff that comes in sticks and is 1000x faster than hard disk.
I don’t think you’ll be able to “find” the heap and stack memory the way you want to. The OS sets this up by assigning some range of memory for each ( like 0x682CFF00 – 0x681CFF00 ).