[2253] in java-interest

home help back first fref pref prev next nref lref last post

Re: Compile time error - file too large

daemon@ATHENA.MIT.EDU (Thomas Hickey)
Wed Sep 27 12:09:01 1995

From: hickey@oclc.org (Thomas Hickey)
Date: Wed, 27 Sep 1995 09:07:48 -0400
To: java-interest@java.sun.com
Cc: James_L_Meyers@andersen.com

We've run into a similar sounding problem.  Although it turned
up while compiling large classes, it turned out to be a javac
bug having to do with 'new' and was reproducible with small
classes.

My suggestion is to do a binary chop on your source to find
where javac is blowing up.  We were able to work around the
problem with 'new' by just moving it into another method.

--Th

>I was wondering if anybody can help me - It appears that a file I am compiling 
in java is too large for the compiler to handle.  I have already ran into the 
problem of my run-time hotjava needing an 8 meg heap size to handle the 
graphics for my application.  Does anybody know how to use a larger heap size 
or something for a compile time error.  The error is that it gets to a certain 
portion of my code and starts giving me warnings / errors that it didn't read 
the lines after a certain point.  Any suggestion would be greatly appreciated.  
Jim from Andersen Consulting

-
Note to Sun employees: this is an EXTERNAL mailing list!
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post