This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 28170 - out of recource: External Compiler
Summary: out of recource: External Compiler
Status: RESOLVED INVALID
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 3.x
Hardware: PC Windows 3.1/NT
: P3 blocker (vote)
Assignee: issues@java
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2002-10-22 14:08 UTC by gau
Modified: 2007-09-26 09:14 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description gau 2002-10-22 14:08:51 UTC
I am compiling a large Project with 
Option "external Compiler" (jdk 1.3.1_02, Win-
NT). Compiling is interupted by the following 
Message:

"The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError
        <<no stack trace available>>
Errors compiling D:\AicProducts\At\Sw (->)."

Compiling from the command shell is ok. May it 
be an Error in the IDE ?

Perhaps a short response to au@iskv.de
Comment 1 Marian Mirilovic 2002-10-22 15:31:45 UTC
IDE version and please try new jdk , jdk1.4.0 or 1.4.1 .

size of your memory ?
Comment 2 pzajac 2002-10-22 15:37:38 UTC
moved to java module. 
Comment 3 gau 2002-10-23 06:18:17 UTC
Memory is enough (512 MB). In the Task Manager 
nothing is running out of resources :-(.
Comment 4 gau 2002-10-23 06:23:42 UTC
IDE Version is 2.23.1 impl 200208222340
Comment 5 Svata Dedic 2003-01-14 12:01:40 UTC
The message indeed comes from the external compiler. If you run
command-line compilation after NetBeans one failed, it may be possible
that compiler processed fewer sources (since some classes were emitted
during the failed compile attempt) and the memory space was sufficient.

Please try to extend memory available to external javac: Go to tools |
Options | Compilation | External Compiler and open custom property
editor for the External Compiler property (elipsis button).

Put 
 -J-Xmx128m
at the beginning of the "commandline arguments" line (separate from
the rest by space) or use even higher value.