Stream: IG creation
Topic: java heap error
John Moehrke (Sep 13 2019 at 13:11):
Note here is a nice article on how to change the default java heap on windows - http://www.messiahpsychoanalyst.org/wikihow/index.php/How_to_Increase_Java_Memory_in_Windows
Alexander Henket (Feb 13 2020 at 13:43):
Using IG Publisher 1.0.64 I got this after 40-60 minutes:
Installing nictiz.fhir.nl.stu3.zib2017#dev to the package cache Fetching:............. Installing: ............. done. Checking Output HTML (04:30.0906) found 5604 files (04:30.0985) Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
Is there something I can do? I have 16GB RAM on my machine
Lloyd McKenzie (Feb 13 2020 at 14:54):
Shut down everything you can before running the build?
Rob Hausam (Feb 13 2020 at 17:25):
The only IG that I regularly get the "Java heap space" error on is UTG. For that, if I run the IG Publisher directly from the command line (rather than the standard script), adding -Xmx5G to the java command takes care of that just fine (of course, -Xmx could be added to the script, too).
Lloyd McKenzie (Feb 13 2020 at 20:37):
UTG blows up my 16GB machine even when I do -Xmx10G unless I shut down chrome
Rob Hausam (Feb 13 2020 at 20:49):
hmm - haven't had that issue
I notoriously almost always have many things open at once, including lots of Chrome tabs
and I just rebuilt UTG a little over an hour ago with the latest publisher and -Xmx5G, and it built successfully (other than the massive number of errors in the qa, but the build itself completed just fine)
Grahame Grieve (Feb 13 2020 at 20:51):
I have 16GB RAM on my machine
Java usually doesn't use what you have. I can run the nictiz ig to completion with 8GB allocated to java
Alexander Henket (Feb 14 2020 at 08:27):
I assigned 10G and watched the process go up to 8G and then it finished with 'regular' errors in 4minutes and 50 seconds so that definitively helped a lot
Last updated: Apr 12 2022 at 19:14 UTC