Forum

This content is now out of date.

Visit Our Community

Java memory error after update

Hey guys & gals,

After updating to the latest version the YF (yellowfin-20160331-update.jar) we got the following error:

Error: java.lang.OutOfMemoryError: GC overhead limit exceeded
(plus lots more included in the attached file)

I got it working again by increasing memory in appserver/bin/catalina.sh
from
JAVA_OPTS="$JAVA_OPTS -Xms128m -Xmx256m"
to
JAVA_OPTS="$JAVA_OPTS -Xms512m -Xmx1024m"

FYI - I tested it with 256MB but it still errored.

Why did I need to do this after a major update?

Cheers,

Marcus
Hi Marcus,

Hope you're well.

First off - I'm glad you got it working again. :-)
That error you saw indeed is because of a lack of memory.

Next up, looking at your initial configuration, you previously only had 256mb of memory allocated to Yellowfin. I'm surprised it worked previously.
256mb of memory certainly is not a recommended amount of RAM for Yellowfin.

Typically we recommend 2GB of RAM, but we even have some of our larger clients (with hundreds of end users) using up to 32GB!

So in short, it may be that we added an additional feature or code change which caused your system to use more than the 256mb maximum memory you had allocated, that said, I'd have recommended you increase your memory limit beyond that even if you didn't update.

I hope this helps answer you question.
Cheers,
Cadell.

Thanks for trying Yellowfin

Please complete the form below to request your copy of Yellowfin today.