You cannot do this in portable Common Lisp.
The ROOM function may be useful. ROOM prints memory statistics, and with argument T it prints them in detail. Thus, you can see the difference before and after some instance creation. Implementations may have certain functions, but you need to check this using the manual or the support mailing list.
Rainer joswig
source share