What is an unmanaged heap?
I thought any object based memory that the CLR manages was the managed heap, so why do we talk about an unmanaged heap?
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.
Imagine you call a Win32 function using P/Invoke, and that allocates some memory using
malloc. The garbage collector has no visibility of that memory – it’s unmanaged.That may or may not be the context in which you’ve heard the term, of course – if you could point us to some examples, we may be able to help you more.