Thomas Fischbacher wrote: > > On Fri, 26 Nov 2004, Roger Leigh wrote: > > >>It still has over a gigabyte of unused private anonymous mappings. Is >>there any reason for mapping this much? It's really quite unfriendly >>to allocate this much, especially when it's mostly untouched, and I >>have good reasons for having the AS rlimit set lower than this. > > > It is perhaps best to think of CMU CL as an (unix-hosted, though) own OS > that prefers to do its own memory management. > > >>Is there any way to reduce its use to something sensible (10 MiB for >>example)? > > > I fear, 10M is even smaller than just the core size of CMU CL. But if you > asked for something ~100M, there may be a way, but I fear you might have > to recompile CMUCL, adjusting src/lisp/x86-validate.h:
Almost. You would need to adjust the size of the read-only and static space, binding stack, and control stack. The heap (dynamic space) can be changed via the command line option -dynamic-space-size, which defaults to 512 MB on Linux. I have thought about adding some additional switches to control the size of the other spaces, without moving them. This would be straightforward, I think, to do, if people really wanted that. Ray
