settingsLogin | Registersettings

Documentation re: launching JAR file from CLI?

0 votes

Hi -

Attempting to run ePADD with higher RAM allocation. I can run the app like so:
java -jar epadd-standalone.jar

But when I add the option from the manual:

I get this error:
Invalid maximum heap size: -Xmx8g The specified size exceeds the maximum representable size. Error: Could not create the Java Virtual Machine. Error: A fatal exception has occurred. Program will exit.

If I run the command specifying anything less than 4 GB, I an error like the following (3GB specification):
Error occurred during initialization of VM Could not reserve enough space for 3145728KB object heap

I'm running ePADD 4.1 on a 64-bit Windows 10 machine with 32 GB RAM.

I realize this is likely a Java error outside the scope of the ePADD app, but I wonder if this is an error any of the team has seen (also, a plug for allowing the amount of RAM given to the app to be set in a GUI or other settings file).

asked Feb 9, 2018 by laissezfarrell (470 points)

1 Answer

0 votes

Hi Farrell,

Sorry for the delay -- we were having a message moderation fluke!

Are you using Java Runtime Environment 64-bit, 8u101 or later?


answered Feb 14, 2018 by Josh_Schneider (5,040 points)

Hey Josh -

Sorry for the delay on my end. Apparently was running 32-bit Java and wasn't aware. Upgraded to 64-bit and was able to launch using the command as described.

Is my understanding correct that assigning more memory should help process larger MBOX files?


Yes, that's correct.

Meant to follow up on this a couple weeks ago, but thanks!

ePADD is a software package developed by Stanford University's Special Collections & University Archives that supports archival processes around the appraisal, ingest, processing, discovery, and delivery of email archives.