PDA

View Full Version : unload lisp routine


csgohjmj
2004-12-26, 10:39 AM
Merry X'mas and Happy New Year to all members!!

Is there a way of unloading lisp routines that have been loaded? I understand that by loading the routines, it woukl take up some memory space - so in order to free up these memory space, it would be better off unloading these unused routines.

Thanks.

csgoh
26-12-04

kennet.sjoberg
2004-12-26, 08:14 PM
(setq MyLispRoutine nil ), empty the routine and save a little memory...

Tip: If You load a lisp like (autoload "MyLispFile" '("MyLispFileCommand"))
You only load a trigger, and load the file when needed.

: ) Happy Computing !

kennet

RobertB
2004-12-27, 04:13 PM
The amount of memory used is insignificant in today's machines. My HVAC routines (1000's of lines of code) add only 8K to the memory footprint.

Don't worry about it.