Newsgroups: comp.lang.lisp.franz
Path: cantaloupe.srv.cs.cmu.edu!das-news.harvard.edu!news2.near.net!MathWorks.Com!europa.eng.gtefsd.com!howland.reston.ans.net!pipex!logica.co.uk!news
From: denis@logcam.co.uk (Denis Howlett)
Subject: ACL\PC monitoring cons usage
Message-ID: <Cww5r0.Fr4@carmen.logica.co.uk>
Sender: news@carmen.logica.co.uk (News Manager Account)
Nntp-Posting-Host: 158.234.21.114
Organization: Logica UK Ltd
X-Newsreader: WinVN 0.92.1
Date: Thu, 29 Sep 1994 12:37:47 GMT
Lines: 18

In Macintosh Common Lisp, using time round a function also
tells you how much space was used by the call. Does anyone
know of a way of finding this out in ACL\PC?

What I'd like to be able to do is something like:

   (space-used (my-function arg1 arg2)))

This would tell me how much space was consumed.

In the same sort of area, does anyone know how I can find out
programmatically how much space is left? I have a big 
application that occasionally runs out of memory and I've no
way of warning the user when memory is low.

Thanks,

Denis
