Hello everyone. I am working on a research project, creating a Java program which does authorship attribution (more info at jgaap.com if you are interested). We are distributing this program to interested researchers for testing as an executable jar file. The problem is that when performing statistical analysis on very large files, we often run out of heap space. From the command line, we fix this with something like:
java -Xmx1024m jgaap
which provides sufficient heap space for most of our needs. I have been searching for a way to embed this additional heap space in the executable jar itself, but have thus far been unsuccessful. Does anyone know if there is a way to create an executable jar with additional reserved heap space (like the -Xmx command-line option)?
Thanks,
Ambuoroko
Most Java programs I use have a .bat or .sh file that specifies that as part of the call.
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks