Exporting large reports (315,000 records) results in java outofmemory errors

  • 3159889
  • 29-Aug-2007
  • 27-Jul-2012

Environment

Novell ZENworks 7.5 Asset Management - ZAM7.5
ZAM 7.5 IR3

Situation

Exporting large reports (315,000 records) results in java outofmemory errors.
ERROR:  "java.lang.OutOfMemoryError: Java heap space" in the java log;
ERROR: "Cannot copy file: Cannot read from the source file or disk." from the Web
Console GUI.

Resolution

Break the report into smaller reports that Java can handle.

Additional Information

Java on Windows appears to have an upper limit of 1320 MB even on a machine with 4 GB of RAM. 1320 MB is not enough RAM to handle a report with 315,000 records.

It has been reported to Novell that running WebConsole on Windows 2003 64-bit with the latest Tomcat6 64-bit and JVM 6 64-bit and setting a higher MAX RAM setting in Tomcat will allow larger reports to run. This configuration is not supported.

Feedback service temporarily unavailable. For content questions or problems, please contact Support.