Insufficient Memory During Report Generation

Message

....
Exporting views... 
Initializing... 
Polyspace Report Generator 
Generating Report 
 ..... 
    Converting report 
Opening log file:  C:\Users\auser\AppData\Local\Temp\java.log.7512 
Document conversion failed 
.....
Java exception occurred: 
java.lang.OutOfMemoryError: Java heap space 

Possible Cause

During generation of very large reports, the software can sometimes indicate that there is insufficient memory.

Solution

If this error occurs, try increasing the Java® heap size. The default heap size in a 64-bit architecture is 1024 MB.

To increase the size:

  1. Navigate to polyspaceroot\polyspace\bin\architecture. Where:

    • polyspaceroot is the installation folder.

    • architecture is your computer architecture, for instance, win32, win64, etc.

  2. Change the default heap size that is specified in the file, java.opts. For example, to increase the heap size to 2 GB, replace 1024m with 2048m.

  3. If you do not have write permission for the file, copy the file to another location. After you have made your changes, copy the file back to polyspaceroot\polyspace\bin\architecture\.