Re: [Gc] Re: What's difference in GC between Windows version and WinCE version?
ivmai at mail.ru
Thu Sep 30 23:04:45 PDT 2010
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 at hotmail.com>:
> 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
> 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
> back to normal size.
> In Windows version, I call funcA() repeatedly, the memory used size never goes
> It seems like used blocks in WinCE version life cycle is longer then Windows
> In WinCE heap memory size limit in 24MB, so I really need the memory effects
> Windows version.
> What should I do?
> Best regards,
More information about the Gc