Thursday, June 6, 2013

Memory Management in .Net

Memory Management is the concept by which memory is allocated and de-allocated to the variables and objects which we use in our normal day to day programming. .Net helps us to ease memory management by automatically allocating and de-allocating memory to the variables and objects.

The runtime takes care of allocating Memory, when we declare a variable or create an instance of an object the runtime automatically allocates memory to the variable or object, similarly when the object or variable goes out of scope the runtime takes care of clearing the memory used using a mechanism called Garbage Collection.

Memory for the variables and objects are allocated in Stack and Heap, we shall see on how this is done in detail in the following posts.

Search Flipkart Products:


lee woo said...

Forgiving does not erase the bitter past. A healed memory is not a deleted memory. Instead, forgiving what we cannot forget creates a new way to remember. We change the memory of our past into a hope for our future. See the link below for more info.


Leslie Lim said...

I have a great fun reading your blogs. You are really a great writer. Thank you for making this beautiful and awesome blogs. Hope to read more post from you in the future. Please dont forget to visit me in my site @ Thank you.


sarah lee said...

I really enjoyed reading your article. I found this as an informative and interesting post, so i think it is very useful and knowledgeable. I would like to thank you for the effort you have made in writing this article.