[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Garbage Collection with 4 RAM (HELP!!)
- To: thaddeus@vuse.vanderbilt.edu (Thaddeus R. Crews)
- Subject: Re: Garbage Collection with 4 RAM (HELP!!)
- From: straz (Steve Strassmann)
- Date: Tue, 27 Sep 1994 19:08:15 -0400
- Cc: info-mcl
>I am saving the application without the compiler. But I was
>wondering if there were any more memory-saving tricks I could
>try, or if perhaps (!) there was some way to reduce the amount
>of time spend garbage collecting.
Try reading optimization-techniques.rtf, available from
cambridge.apple.com:/pub/mcl/contrib/.
Garbage collecting only happens when you allocate new memory, using
functions like these, (or functions which call functions like these)
cons
list
append
make-instance
vector
make-array
If you don't allocate memory, the garbage collector will not run (nor
will there be any need for it to run). Try to characterize and limit
where your code makes such calls.
Also, you can make sure the ephemeral garbage collector is on with
(egc t)