Memory management options

Leonid Timochouk L.A.Timochouk@REDACTED
Mon May 13 15:04:47 CEST 2002


Hello Erlang users,

I have some questions about memory-related options of "beam":

(1) It is said that "sl_alloc" may allocate short-living blocks in
    "mmap"ed areas. What is the advantage of doing this?

(2) The "+s" option allows us to set the stack size of Erlang processes,
    but how to read back the default stack size? "erlang:system_info"
    does not seem to report this figure.

(3) The "+h" option sets the heap size for processes. Again, how to read
   it back? And most important, is it the single heap size for all
   processes, or a per-process one?

(4) Do all these "+" options allow/require a space between the option
   key and the argument? The "+A" option does not have a space...

Best wishes,

Dr. L.A.Timochouk
Computing Laboratory
University of Kent at Canterbury




More information about the erlang-questions mailing list