I'm not computer science but allocated resources are allocated on the heap but I would like to know that unmanaged resources have been allocated. If unmanaged resources have been allocated on a heap, is it the heaps used by managed resources or different?
Thank you in advance.
Harsh
Originally speaking from the heap operating system view: Storage space assigned to OS process
The difference is that when CLR (.net VM) loads inside the Windows process, it takes a piece of this heap and converts it to Managed Stacks The memory space becomes the place where all managed resources are allocated and known for the garbage collector.
For example, if you allocate a large part of unmanaged memory and run out of space for your managed pile or on the other side
Jeffrey Richter is a person who tells this stuff better. I highly recommend reading this explanation:
You can use the services of the System.InteropServices namespace In particular, class, and copy managed data between the unmanaged portion of the stack.
Comments
Post a Comment