This enhancement has been incorporated in Release 14 Service Pack 3 (R14SP3). For previous product releases, read below for any possible workarounds:
By default, MATLAB uses a default heap space setting of 64 megabytes for the Java Virtual Machine (VM). In cases where large documents are being converted using the Report Generator, the Java VM heap space may need to be increased. Directions for increasing the Java VM heap space are provided in the following solution:
As an example, creating a java.opts file in the MATLAB startup directory with the line:
provides 128 megabytes of Java VM heap space in MATLAB. To avoid issues with virtual memory, never set the -Xmx option to more than 66% of the physical RAM available.
Best Answer