how much stack am I using?

  • Follow


Is there any way to ask Lisp (CMUCL) how much stack I'm using? I think the
docs say nothing.
0
Reply neo_lisper (55) 11/19/2004 6:26:16 PM

Neo-LISPer <neo_lisper@yahoo.com> writes:

> Is there any way to ask Lisp (CMUCL) how much stack I'm using? I think the

You may try this:

  * (room t)

  Dynamic Space Usage:           68,416 bytes (out of  512 MB).
  Read-Only Space Usage:     20,165,008 bytes (out of  256 MB).
  Static Space Usage:         2,881,384 bytes (out of  256 MB).
  Control Stack Usage:              484 bytes (out of  128 MB).
  Binding Stack Usage:               96 bytes (out of  128 MB).
  ...

Is this what you are looking for?


Paolo
-- 
Why Lisp? http://alu.cliki.net/RtL%20Highlight%20Film
Recommended Common Lisp libraries/tools (see also http://clrfi.alu.org):
- ASDF/ASDF-INSTALL: system building/installation
- CL-PPCRE: regular expressions
- UFFI: Foreign Function Interface
0
Reply amoroso (853) 11/19/2004 7:50:22 PM


Paolo Amoroso wrote:

> *�(room�t)
> 
> Dynamic�Space�Usage:�����������68,416�bytes�(out�of��512�MB).
> Read-Only�Space�Usage:�����20,165,008�bytes�(out�of��256�MB).
> Static�Space�Usage:���������2,881,384�bytes�(out�of��256�MB).
> Control�Stack�Usage:��������������484�bytes�(out�of��128�MB).
> Binding�Stack�Usage:���������������96�bytes�(out�of��128�MB).
> ...
> 
> Is this what you are looking for?

After some output redirection and parsing, it will be :)
0
Reply neo_lisper (55) 11/20/2004 12:05:45 AM

2 Replies
35 Views

(page loaded in 0.062 seconds)


Reply: