Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
可能重复: 堆栈和堆是什么以及在哪里
堆内存和堆栈内存存储在哪里?我的意思是在硬盘上的哪里?它们的大小限制是什么?
您应该将内存和硬盘视为对立面。
内存是更昂贵的东西,比硬盘快 1000 倍。
我认为您无法以您想要的方式“找到”堆和堆栈内存。操作系统通过为每个内存分配一定范围的内存来设置它(例如 0x682CFF00 - 0x681CFF00 )。
也许这个讨论会帮助堆栈和堆是什么以及在哪里?