[plt-scheme] What happens if out of memory

From: Chihiro Kuraya (rxqvw at yahoo.co.jp)
Date: Sat Jun 11 06:30:01 EDT 2005


It seems there is no description in PLT documents 
about what happens if memory allocation function failes
without scheme_malloc_fail_ok().

Source code seems GC_out_of_memory handler is
provided internally. This handler may be used for
embedded programs. But it is not clear if I call
foresign interface malloc function without 'failok flag.

It would be better to write more information in
"PLT Foreign Interface Manual" and "Inside PLT MzScheme",
I think.

Chihiro Kuraya
Save the earth

Posted on the users mailing list.