A Little Learning is a Dangerous Thing !

Ch. A. Herrmann herrmann@infosun.fmi.uni-passau.de
Mon, 14 May 2001 14:54:55 +0200


Hi Iain,

I'm working with UNIX only but likely my change will solve your problem too.

    Iain> I was running some scripts in WinHugs, and everything was
    Iain> running happily. I then attempted to add ( using ":a" ) a new
    Iain> script, and received the following error message: "Program
    Iain> code storage space exhausted".

In the "src" directory, there are some parameters defined in
"prelude.h". Our settings are (we use LARGE_HUGS):

#define NUM_ADDRS          Pick(28000,  60000,      1280000)
#define NUM_STACK          Pick(1800,   12000,      64000)

NUM_ADDRS is for the program code storage space and NUM_STACK for the
stacksize. Recompile, maybe it'll work.

Cheers
-- 
 Christoph Herrmann
 Postdoctoral Research Associate 
 University of Passau, Germany 
 E-mail:  herrmann@fmi.uni-passau.de
 WWW:     http://brahms.fmi.uni-passau.de/cl/staff/herrmann.html