Re[6]: [Gc] GC + Windows Mobile + Threads + Patch for WINCE

Ivan Maidanski ivmai at
Sun Aug 23 21:55:53 PDT 2009


Zeyi Lee <biosli at> wrote:
>          Thanks for your reply, I think GetCurrentThreadId worked.
>          I did changes as you said:
> me -> handle = (HANDLE)GetCurrentThreadId();
> And saw it has stopped the current thread. The test_leak_libgc project was running well.

Ok, then I'll prepare the patch.

> Then I run the test_libgc project in dopod P800. When the program enter the function   cons   many times(I don  t know how many times), I got a warning:
> GC Warning: Out of Memory!  Returning NIL!
> Out of memory
> I checked my smartphone the program used 25M bytes, and really   Out of memory  .
> That worked, right?

I set env var GC_MAXIMUM_HEAP_SIZE=25000000 and it works for me well (on Win32).

> Best wishes,
> GC Beginner
> Zeyi Lee


More information about the Gc mailing list