dbpedia-spotlight/dbpedia-spotlight — pull request #111 by maxjakob (2012-10-04 10:06:36+00:00)
Title: Make -Xmx configurable for scala:run

For indexing:

The scala-maven-plugin launches a separate JVM for the configured main classes. The maximum heap size given to Maven via `MAVEN_OPTS` is not handed down to these subprocesses. It has to be set in the pom in `jvmArgs`.

These changes introduce a property for `-Xmx`, so that it can be set from the command line like,

`mvn scala:run -Dlauncher= -DjavaOpts.Xmx=1234m -DaddArgs=<...>`