Michael Hannemann wrote on Fri, Mar 20, 2009 at 03:21:20PM -0400:
> Hi there,
>
> Apologies if this is a FAQ, although I searched the web and did not
> see anything immediately apropos.
>
> I seem to get the following error fairly often, when running my program:
>
> ---
> fatal error encountered in SBCL pid 2226(tid 46912496231472):
> An mprotect call failed with ENOMEM. This probably means that the
> maximum amount
> of separate memory mappings was exceeded. To fix the problem, either increase
> the maximum with e.g. 'echo 262144 > /proc/sys/vm/max_map_count' or recompile
> SBCL with a larger value for GENCGC-PAGE-SIZE in 'src/target/parms.lisp'.
At work we have SBCL compiled with a larger *backend-page-bytes* (same
thing) for this reason.
I couldn't observe a real performance difference.
I think we might want to bump the default in mainline SBCL. We use 32
KB.
Martin
--
%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
Martin Cracauer <cracauer@...> http://www.cons.org/cracauer/
FreeBSD - where you want to go, today. http://www.freebsd.org/
|