[cmucl-imp] x86-validate.h

Helmut Eller heller at common-lisp.net
Sat Aug 27 23:01:53 CEST 2011


Is it necessary that we reserve such large areas at startup?

#define READ_ONLY_SPACE_SIZE    (0x0ffff000)	/* 256MB - 1 page */
#define STATIC_SPACE_SIZE	(0x0ffff000)	/* 256MB - 1 page */
#define BINDING_STACK_SIZE	(0x07fff000)	/* 128MB - 1 page */
#define CONTROL_STACK_SIZE	(0x07fff000 - 8192)  (about 128 MB)

Why are read-only and static space so large when a core file is
less than 30MB?  And why do we need such huge stacks?
The default stack limit for a JVM is less than 500KB.

With such settings one needs at least 720MB to start.  That's a problem
unless overcommitting is enabled.

Helmut



More information about the cmucl-imp mailing list