Re: compile error: System is out of resources..



Frances wrote:

pls, what is this error? I have never gotten this error before, and exact same error occurs both on my tomcat at home and at work, when I compile this file.. sH is a helper class I use in all my Tomcat webapps to generate HTML code in servlets..

How long (lines) is the complete source code of this class? Does it have dependencies on (import) other non-core Java classes? Can you compile this code from the command line?

[.... long wait until the below appears...]

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError

I vaguely recall that there were some problems in javac with some particular types of code, but usuually code that had very convoluted or deeply nested package/inheritance structure (I am bit hazy on the exact details).

--
Andrew Thompson
physci, javasaver, 1point1c, lensescapes - athompson.info/andrew
Currently accepting short and long term contracts - on Earth.
.



Relevant Pages

  • Re: compile error: System is out of resources..
    ... exact same error occurs both on my tomcat at home and at work, when I compile this file.. ... sH is a helper class I use in all my Tomcat webapps to generate HTML code in servlets.. ...
    (comp.lang.java.help)
  • Re: compile error: System is out of resources..
    ... exact same error occurs both on my tomcat at home and at work, when I compile this file.. ... exact details). ...
    (comp.lang.java.help)
  • compile error: System is out of resources..
    ... I have never gotten this error before, and exact same error occurs both on my tomcat at home and at work, when I compile this file.. ...
    (comp.lang.java.help)
  • Re: output from statvfs different than df
    ... run it and to run df, and the *exact* output of both. ... main, replace Path with ArgV, and do a simple gcc compile ... from your first message: It will spew a bunch of error ... messages and refuse to compile. ...
    (comp.unix.programmer)
  • Re: Simplest Java app ever wont run. Why? -- CLASSPATH q..
    ... >> In the case of a standard application pass any additional 'classpath' ... I tend to forget that in Tomcat I DO have to do -classpath when I ... >compile, b/c I have it in a batch file I use to compile.. ... Again, Tomcat finds the system API (i.e., the J2SE distribution) by ...
    (comp.lang.java.help)