Stream: IG creation
Topic: out of memory errors in watch mode
Eric Haas (Apr 28 2019 at 05:18):
I am getting Exception in thread "main" java.lang.OutOfMemoryError: Java heap space
error in my local build after several cycles in 'watch' mode. A new build also appears to be triggered when browsing the local build as well.
I am running 'FHIR Implementation Guide Publisher Version 3.7.29-SNAPSHOT' is anybody else getting this?
Lloyd McKenzie (Apr 28 2019 at 19:54):
I think that's long been an issue
Eric Haas (Apr 29 2019 at 04:41):
I never had this before.
Chris Moesel (Apr 29 2019 at 13:05):
@Eric Haas -- do you pass in an -Xmx
arg to increase your heap space? I've always found I have to do java -Xms4g -Xmx8g -jar ...
Lloyd McKenzie (Apr 29 2019 at 13:10):
I quit using the 'watch' mode at least 1.5 years ago because it would eventually run out of memory. (And with pre-processing requirements, it was of limited use anyhow.)
Eric Haas (Apr 29 2019 at 15:24):
l use watch all the time. The thing is it worked fine and now each time I click in the browser to look at a page of my local output it does an update this is unexpected and new. After several cycles of this the out of memory error pops up. It sounds like a memory leak to me or the watch adds to heap for each cycle
Eric Haas (Apr 29 2019 at 17:14):
actually it just seems to cycle through the build continuously in watch mode....@GG?
Grahame Grieve (Apr 30 2019 at 07:18):
I'll add it to my list
Last updated: Apr 12 2022 at 19:14 UTC