Stream: cda/publish
Topic: java heap space error on rebuild
Sean McIlvenna (Sep 19 2019 at 15:44):
Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
at java.base/java.util.Arrays.copyOf(Arrays.java:3746)
at java.base/java.lang.AbstractStringBuilder.ensureCapacityInternal(AbstractStringBuilder.java:172)
at java.base/java.lang.AbstractStringBuilder.append(AbstractStringBuilder.java:538)
at java.base/java.lang.StringBuilder.append(StringBuilder.java:174)
Sean McIlvenna (Sep 19 2019 at 15:44):
https://build.fhir.org/ig/HL7/cda-core-2.0/branches/master/build.log
Sean McIlvenna (Sep 20 2019 at 02:48):
@Grahame Grieve keep getting this on FHIR/cda-core-2.0. Not sure why.
Grahame Grieve (Sep 20 2019 at 19:13):
what's the first couple of lines of your log?
Sean McIlvenna (Sep 23 2019 at 16:17):
this is from ci, not from my own machine
Grahame Grieve (Sep 23 2019 at 17:37):
13533MB
should be enough
Sean McIlvenna (Sep 23 2019 at 18:14):
https://build.fhir.org/ig/HL7/cda-core-2.0/branches/master/build.log
Sean McIlvenna (Sep 23 2019 at 18:14):
pushed a rebuild request...
Sean McIlvenna (Sep 23 2019 at 18:22):
yah... still getting same error about "Java heap space"
Grahame Grieve (Sep 23 2019 at 21:18):
I build with less memory available. So it's not outright the amount available - there's something else going on
Grahame Grieve (Sep 23 2019 at 21:19):
but my build fails the same way... ok I can investigate that
Sean McIlvenna (Oct 02 2019 at 20:07):
@Grahame Grieve any update on this?
Oliver Egger (Oct 05 2019 at 11:49):
I had a look at it today, the problem is coming due to the cda-core-2.0 model AD.useablePeriod definition, see following pull request for fix: https://github.com/HL7/cda-core-2.0/pull/13 @Sean McIlvenna
Sean McIlvenna (Oct 05 2019 at 16:52):
Nice work, @Oliver Egger ! That PR seems to have fixed the "Java heap space" errors
Last updated: Apr 12 2022 at 19:14 UTC