From: Neo-LISPer
Subject: how much stack am I using?
Date: 
Message-ID: <3710342.xA3WTJIFZ3@yahoo.com>
Is there any way to ask Lisp (CMUCL) how much stack I'm using? I think the
docs say nothing.

From: Paolo Amoroso
Subject: Re: how much stack am I using?
Date: 
Message-ID: <87wtwh39fl.fsf@plato.moon.paoloamoroso.it>
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
From: Neo-LISPer
Subject: Re: how much stack am I using?
Date: 
Message-ID: <1643181.MmRsrH12M3@yahoo.com>
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 :)