Monday, September 18, 2006

Approach to Increase the memory size of CLisp

Some of your testcases might require more stack size. You can actually increase the stack size of CLisp. If you are running CLISP from command line, you can call it like this "clisp.exe -m 300mb" then you'll allocate 300mb for the memory size. Under lisp in a box, you could add "-m 300mb" to the "-q" option in the "RunCLISP.bat" under .../lispbox/CLISP folder.

-Lei

1 comment:

Lei Tang said...

It will automatically increase memory size during the execution.

-m is basically useless nowadays, at least on Linux where it's ignored.


So just forget about this post.

Lei Tang writes:
> > What's the meaning of "-m" option for CLISP? Based on the FAQ, it "sets
> > the amount of memory CLISP" tries to grab on startup". So If I set the
> > memory size to 3mb, then CLisp will just use 3mb to run the code? Or
> > will it automatically increase memory size during the exection?