Skip to main content

Why does netbeans5.0 throw OutOfMemoryError exception,during building?

1 reply [Last post]
dengyangmin
Offline
Joined: 2005-08-11
Points: 0

Hello!Can you help me? I am the first time to use neckbands 5.0.
Today i met a very strange matter! When i build my project with Netbeans5.0,it throws out the following exceptions.I have been using JBuilderX to construct the project,which has many java source packages(about 2000).

init:
deps-module-jar:
deps-ear-jar:
deps-jar:
library-inclusion-in-archive:
library-inclusion-in-manifest:
Compiling 2207 source files to D:\nbproject\lcf3.0\build\web\WEB-INF\classes

The system is out of resources.
Consult the following stack trace for details.
java.lang.OutOfMemoryError
D:\nbproject\lcf3.0\nbproject\build-impl.xml:306: The following error occurred while executing this line:
D:\nbproject\lcf3.0\nbproject\build-impl.xml:158: Compile failed; see the compiler error output for details.
BUILD FAILED (total time: 1 minute 1 second)

Reply viewing options

Select your preferred way to display the comments and click "Save settings" to activate your changes.
pizzandre
Offline
Joined: 2005-04-18
Points: 0

Have you checked XMS, XMX parameters ? There might be a way to pass through execution line