2009/3/6 Jean-Claude Beaudoin <jean.claude.beaudoin@...>:
> I would like to call from SBCL a piece of foreign C code that
> could malloc a lot of memory on its own. Is there any maximum
> on the amount of memory that can be malloced by such foreign
> code under SBCL, either total or per malloc invocation?
Foreign malloc() calls are limited by them amount of memory available
-- SBCL consumes it's own share, but unless you are working with
datasets so large that address space is getting scarce there should
not be a problem.
Of course, if the malloc implementation wants a contiguous heap for
itself, the address space reserved by SBCL can be an issue. Not sure
which (if all or any) malloc implementations do that.