> > Now for vmOptions an example is pax-run
> > "--vmOptions=-Xms500M -Xmx500M". This should work and
> > start the target platform with those memory settings.


Actually... now that I've actually tried it, it's not working.

I'm getting an error:

  Invalid initial eden size: -Xmn256m -Xms2G -Xmx2G

Because it thinks I want to set the size of mn to "-Xmn256m -Xms2G
-Xmx2G" and not just "256m". Looks like some kind of parsing error.

Note that if I use just any one of the options, I have no problem. If I
use more than one option, it's not being parsed correctly, as all the
values are being considered as one value.

Here's the full command:

java $JAVA_OPTS -jar $PAX_HOME/runner/bin/pax-runner-0.5.0-SNAPSHOT.jar
  "--noConsole" "--clean" "--debug=TRACE" "--platform=equinox" 
  "--vmOptions=-Xmn256m -Xms2G -Xmx2G" 
  mvn:com.bioscene.runtime/bioscene-products-pubmed/0.1.0-SNAPSHOT/pom





_______________________________________________
general mailing list
general@lists.ops4j.org
http://lists.ops4j.org/mailman/listinfo/general

Reply via email to