maize-genetics / phg_v2

Practical Haplotype Graph (PHG) version 2
https://phg.maizegenetics.net/
Apache License 2.0
21 stars 2 forks source link

[REQUEST]: Add a note suggesting _JAVA_OPTIONS to resolve OutOfMemoryError #254

Closed gtbil closed 2 days ago

gtbil commented 2 days ago

Description

Running build-kmer-index can give the following error: java.lang.OutOfMemoryError: Java heap space

Alternatives

Add a note to the documentation that _JAVA_OPTIONS can be used to increase the heap space when this error is encountered, like export _JAVA_OPTIONS="-Xms200G -Xmx200G"

Additional Context

No response

gtbil commented 2 days ago

closing this since I realized its on the installation page