Re: GC, Windows or Design problem?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Tamir Khason wrote:

> I have VERY BIG object (>2G) serialized and I'm loading it into some
object.

Regarding the other postings in this thread, you might want to look for a
way to create proxy objects for your collection items, only loading the "big
parts of the structures" when you really need them.

Assuming this object is a collection of a certain number of objects, you'd
first create that number of proxy objects containig a minimal information.
When working with each of this objects, you'd the load the complete object
from the serialized file and work with only one of these objects
(structures) at a time.

This might mean you'd have to change the original serialisation of your
objects giving you the possibility not to read the whole file into memory...

[...rest snipped...]


.