Forum

This content is now out of date.

Visit Our Community

Ran out of memory

Although Yellowfin was running in one of our client's server, we were unable to access it.

Logs showed some exceptions like:

- PSQLException: Ran out of memory retrieving query results.
- PSQLException: This connection has been closed.

I checked server's memory and disk space and both looking good.

I have attached catalina.out logs when problem was spotted.
Could you possibly identify problem (I know that I am not providing enough info).

Application Version: 7.0
Build: 20140507
Hi Stelios,

on the contrary, you have easily provided enough info, the error in the log file is:

[code]Exception in thread "FileWatchdog" Exception in thread "http-8080-Acceptor-0" java.lang.OutOfMemoryError: Java heap space
YF:2014-07-16 13:19:47: INFO (HtmlExporter:C) - Exporting report to HTML (932720: SCREEN BOARD MISSED)
java.lang.OutOfMemoryError: Java heap space[/code]

Heap memory is different than the server's memory, it refers to how much memory the Java Virtual Machine is allowed to use to run Tomcat. This means that supposing you have checked your server's memory and it has many GBs of free memory remaining, and yet Java will not be able to use this free memory if you have only allocated 1 GB as heap memory.

Please see this forum post which describes how to allocate more heap memory to your JVM.

regards,
Dave