1 Oct 2010 08:04
Re: Re: What's difference in GC between Windows version and WinCE version?
Hi! WinCE block allocation algorithm is a bit different from Win32. Try play with GC_FREE_SPACE_DIVISOR and GC_INITIAL_HEAP_SIZE. Thu, 30 Sep 2010 03:00:12 +0000 (UTC) biosli <biosli@...>: > Thanks to reply. > Ivan Maidanski <ivmai <at> ...> writes: > > > > > > Tue, 28 Sep 2010 10:13:05 +0000 (UTC) gcbiosli <biosli <at> ...>: > > on > > > I use GC in my program both Windows version and WinCE version. The > code is > > > same. > > > > Are the configurations same? You're not using USE_MUNMAP in both > cases, right? > > > The configurations is same. I defined USE_MUNMAP, SMALL_CONFIG, GC_THREADS and > ALL_INTERIOR_POINTERS, in both version. > And I found that used memory size will come down later, in WinCE version. > exp. In WinCE version, I call function funcA() which need a lot memory(a lot > of > small blocks) then release all used memory, then I call funcB() which need > little memory several times, the memory used size comes down. > If I call function funcA() repeatedly, the memory used size grows, and don't > goes(Continue reading)
RSS Feed