[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: compiler runs out of memory



David Crescent wrote:

> I'm using a Windows 2000 machine with 512 Megs of memory, over 330 of
> which are free, and I keep getting java.lang.OutOfMemoryError when I try
> to run the simplec compiler generated by SableCC. I know this is a memory
> intensive application, but surely 330 Megabytes is enough to construct an
> AST from a very small simplec program. I also tried the postfix example,
> and although that compiler doesn't run out of memory, the usage is over
> half of what's available. I have the feeling something is wrong since the
> statement being compiled is 2+3! Any suggestions as to what is wrong would
> be very helpful.
>
> Thanks,
> Dave

Check the JVM. Which Jdk ? The one from Sun, or Microsoft.
Try the -X
begin:vcard 
n:Brunet;Alain
tel;fax:+33 (1) 55.59.37.37
tel;work:+33 (1) 55.59.37.57
x-mozilla-html:FALSE
url:http://www.nextenso.com
org:Nextenso
adr:;;5 rue Jacques Rueff;Antony;;92182;France
version:2.1
email;internet:Alain.Brunet@nextenso.com
x-mozilla-cpt:;-5952
fn:Alain Brunet
end:vcard