'lo all,
Is there anyway to increase the heap memory setting in the
maven-bundle-plugin at all? On one of my machines when I try to build
our project as part of a large (15 or so modules) reactor build I get
OutOfMemory (when building standalone its fine).
The exception is:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Arrays.java:2786)
at java.io.ByteArrayOutputStream.write(ByteArrayOutputStream.java:94)
at aQute.lib.osgi.EmbeddedResource.copy(EmbeddedResource.java:64)
at aQute.lib.osgi.EmbeddedResource.collect(EmbeddedResource.java:53)
at aQute.lib.osgi.EmbeddedResource.build(EmbeddedResource.java:35)
at aQute.lib.osgi.EmbeddedResource.build(EmbeddedResource.java:73)
at aQute.lib.osgi.Analyzer.analyzeBundleClasspath(Analyzer.java:1582)
at aQute.lib.osgi.Analyzer.analyze(Analyzer.java:108)
at aQute.lib.osgi.Builder.analyze(Builder.java:294)
at aQute.lib.osgi.Builder.doConditional(Builder.java:260)
at aQute.lib.osgi.Builder.build(Builder.java:75)
at
org.apache.felix.bundleplugin.BundlePlugin.buildOSGiBundle(BundlePlugin.java:391)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:282)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:236)
at
org.apache.felix.bundleplugin.BundlePlugin.execute(BundlePlugin.java:227)
at
org.apache.maven.plugin.DefaultPluginManager.executeMojo(DefaultPluginManager.java:483)
at
org.apache.maven.lifecycle.DefaultLifecycleExecutor.executeGoals(DefaultLifecycleExecutor.java:678)
I've tried running 'MAVEN_OPS="-Xmx1024m" clean install' to no avail,
any one have any ideas or suggestions?
Currently I'm now just doing a "find . -name pom.xml --execdir mvn
clean install ';'" to work around it.
Mark
--
...and then Buffy staked Edward. The End.
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]