Twin Cities Code Camp

Chad Yost

Managing Memory in a Managed World

by Chad Yost

Sun, Oct 01, 2006
Room:
Time: 0:00

Content

Managed memory is a wonderful thing. No longer having to worry about deleting pointers, leaking memory, having enough space available, it is all taken care of for you by the Garbage Collector. But what happens when a large amount of your data is large enough that it needs to go into the large object heap. How do you make sure that you are not fragmenting it so much that the next request to get data has space? How do you make sure that these large pieces of data are not mapped into the address space all the time, taking up valuable space in the 2GB limit?

This presentation will focus on some specific functionality that Thomson-West implemented to handle large legal documents (MB of XML), that can be slow to retrieve via soap in a manner that kept them out of the large object heap. Discussion will center on implementing a soap extension that generically parses a soap response to pull out the large strings, pushing them to the Virtual Heap, instead of placing them on the large object heap.


About the Author

Chad Yost has been developing in the windows environment since 1989. Initially in C/C++, he now spends most of his time designing and developing code in .NET. He currently is part of a team that is developing standards and class libraries that will be used across products within Thomson-West.

Links