|
View:
New views
3 Messages
—
Rating Filter:
Alert me
|
|
|
OutOfMemory while building dwrHi all,
I'm trying to build DWR 2.0.5. I'm getting heap space OutOfMemoryError exceptions during the build -- Below is the full ant output.
I've attempted to increase the max memory of the JVM via: export ANT_OPTS=-Xmx1024m This made the build process last much longer (around 3-4 minutes) .. I watched the memory usage slowly climb to 1 gig before it ran out again.
I'm assuming something's wrong .. I'm attempting to build on OS X 10.6 (Snow Leopard). I changed one thing in the build.properties -- pointing the 1.3 JVM to 1.5 as suggested in the comments. (I don't need DWR to run on 1.3).
============== Ant output: $ ant Buildfile: build.xml compile: [echo] If the build fails with a message about 'C:/Program Files/Java/jdk-1.3.1' then you probably need to edit build.properties.
[echo] Building JDK1.3 files in ./java using /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home on Mac OS X [javac] Compiling 239 source files to /Users/desau/Downloads/dwr-2/target/ant/classes
BUILD FAILED /Users/mylogin/Downloads/dwr-2/build.xml:17: java.lang.OutOfMemoryError: Java heap space |
|
|
Re: OutOfMemory while building dwrI just ran the 2.x build - no issues at all. Of course my environment
is different but I don't think there is a problem with the build. Darrell Esau wrote: > Hi all, > > I'm trying to build DWR 2.0.5. > > I'm getting heap space OutOfMemoryError exceptions during the build -- > > Below is the full ant output. > > I've attempted to increase the max memory of the JVM via: > export ANT_OPTS=-Xmx1024m > > This made the build process last much longer (around 3-4 minutes) .. I > watched the memory usage slowly climb to 1 gig before it ran out again. > > I'm assuming something's wrong .. > > I'm attempting to build on OS X 10.6 (Snow Leopard). > > I changed one thing in the build.properties -- pointing the 1.3 JVM to > 1.5 as suggested in the comments. (I don't need DWR to run on 1.3). > > ============== > Ant output: > > $ ant > Buildfile: build.xml > > compile: > [echo] If the build fails with a message about 'C:/Program > Files/Java/jdk-1.3.1' then you probably need to edit build.properties. > [echo] Building JDK1.3 files in ./java using > /System/Library/Frameworks/JavaVM.framework/Versions/1.5.0/Home on Mac > OS X > [javac] Compiling 239 source files to > /Users/desau/Downloads/dwr-2/target/ant/classes > > BUILD FAILED > /Users/mylogin/Downloads/dwr-2/build.xml:17: > java.lang.OutOfMemoryError: Java heap space > __________ Information from ESET NOD32 Antivirus, version of virus signature database 4485 (20091006) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com --------------------------------------------------------------------- To unsubscribe, e-mail: users-unsubscribe@... For additional commands, e-mail: users-help@... |
|
|
Re: OutOfMemory while building dwrHmm -- OK. This could very well just be a Snow Leopard problem.
I'll try building on Linux. Thanks! -d On Wed, Oct 7, 2009 at 5:38 AM, David Marginian <david@...> wrote: I just ran the 2.x build - no issues at all. Of course my environment is different but I don't think there is a problem with the build. |
| Free embeddable forum powered by Nabble | Forum Help |