OutOfMemoryException while building java application using Maven on Hudson with ProGuard -


I'm trying to use Proguard to build your Maven project Hdsn I just execute clutter target I'm leaving Proguard's optimization and shirting facility.

This problem occurs when I try to make a project on Hudson, but when I call the same project on my machine Eclipse or Command Prompt Apple If not, then it is successfully created

I tried to change the MAVEN_OPTS and JAVA_OPTS option on Hudson but it works.

The following exception:

[ProGuard] Reading library jar [/builds/repositories/builds/com/ibm/dhbcore/6.0/dhbcore-6.0.jar] [ ProGuard] exception in the formula "main" Java .lang.OutOfMemoryError: proguard.classfile.io. Java hap space [proguard] Proguard.classfile.io.LibraryClassReader.visitLibraryClass (libraryClassReader.java:99) [proguard] proguard.classfile.LibraryClass.accept (LibraryClass.javamore48) [ProGuard] on libraryclassRederCracket Constant (Library classRadder.java 328) [proguard] ] on proguard.io.ClassReader.read (ClassReader.java:86) [ProGuard] on proguard.io.FilteredDataEntryReader.read (on FilteredDataEntryReader.java: 87) proguard.io.JarReader.read (JarReader.java:65) [ ProGuard] [ProGuard] DirectoryPump.java:53 on proguard.io.DirectoryPump.readFiles (DirectoryPump.java:65) [ProGuard] on proguard.io.DirectoryPump.pumpDataEntries (at) [progu ard] proguard.InputReader.readInput ( InputReader.java:226) [ProGuard] on proguard.InputReader.readInput (InputReader.java:200) [ProGuard] on proguard.InputReader.readInput (InputReader.java:178) [ProGuard] Su proguard.InputReader.execute (InputReader.java:100) [ProGuard] on proguard.ProGuard.readInput (ProGuard.java:195) [ProGuard] on proguard.ProGuard.execute (ProGuard.java:78) [ProGuard] on ProGuard ProGuard-Maven-plugin: 2.0.4 (default) on

If you are out of memory, there is something wrong with your code or (first try it) You are really out of memory Try adding a -xx parameter to your build options, And give it more memory.

Comments

Popular posts from this blog

Python SQLAlchemy:AttributeError: Neither 'Column' object nor 'Comparator' object has an attribute 'schema' -

java - How not to audit a join table and related entities using Hibernate Envers? -

mongodb - CakePHP paginator ignoring order, but only for certain values -