When running an XML publisher report (Rowset based), the following error was appearing:
Java Exception java.lang.OutOfMemoryError
Most sources on the web suggested increase the memory allocated to the JavaVM in the process scheduler configuration file. However in my case, the reports were working fine and then the error just started appearing. The solution was to restart the application servers and this resolved the issue.