.Net CF not enough memory

) For some reason, my .Net application crashes due to the fact that out of the total 62 MB of free RAM, only 40 MB is left on my device. My application has huge dictionaries in mind, and I need about 30 MB of RAM. Why doesn't .Net CF allow me to do this? There is a lot of memory on the device! :: - (... any ideas on some CF configuration changes that I could make? I tried installing Power Toys for CF, but to no avail: there is nothing useful there. NET CF there is not enough memory

+3
source share
1 answer

What type of data is in these dictionaries (reference or values)? Link types are stored in GCHeap, which is not in shared memory (out of space for 32 MB for CE 5.0 and earlier). I assume that you have a ton of value types that are forced to be stored in a natural heap inside your process slot, and you are simply wasting space.

More about CE memory management can be found here . More about CF can be found here .

+3
source

Source: https://habr.com/ru/post/1744350/


All Articles