" Note also that it's not possible you had two Dictionaries of 1.2 and 1.3GB
loaded at the
same time, guess one of these was freed by the GC at the time the second was
created. "
that's only when the 2 are in the same appl right? i was loading them with
2 different exe. and from the task manager, it's clear that one holds 1.2g
and one holds 1.3g.
so as long as i don't load a dictionary more than 1.5G within the same appl,
it should be ok right?
thank you very much.
> > hi, i have an exe that holds a very large Dictionary collection that would
> > takes about 2.5G in total. the machine has 4G RAM.
[quoted text clipped - 22 lines]
>
> Willy.
Willy Denoyette [MVP] - 19 Nov 2006 23:28 GMT
>" Note also that it's not possible you had two Dictionaries of 1.2 and 1.3GB
> loaded at the
[quoted text clipped - 4 lines]
> 2 different exe. and from the task manager, it's clear that one holds 1.2g
> and one holds 1.3g.
Yep, each process has 2GB VAS.
> so as long as i don't load a dictionary more than 1.5G within the same appl,
> it should be ok right?
Not necessarily, suffice to load a third party DLL that is mapped somewhere in the middle
of the VAS to have your contiguous area further fragmented. On 32bit windows, you should
always be prepared to incur OOM exceptions when allocating such huge objects.
Willy.
tin - 20 Nov 2006 00:20 GMT
i see. thanks for the quick and great info!
> >" Note also that it's not possible you had two Dictionaries of 1.2 and 1.3GB
> > loaded at the
[quoted text clipped - 14 lines]
>
> Willy.