Java.lang.OutOfMemory in Microstrategy Web we executing/exporting a report

Sometimes when we receive an OutOfMemory error  while attempting to execute reports
This error message is something like this:

Java.lang.OutOfMemory in MicroStrategy Web

This issue occurs because the JVM Heap Size of the web server machine is not large enough to hold the result set of the report while exporting from MicroStrategy Web.

When exporting a report, MicroStrategy Web requests all the report data from MicroStrategy Intelligence server. The Java Virtual Machine Heap Size Memory needs to be large enough to hold the result set.

To fix this problem we have to increase the Max Java Heap for MicroStrategy Web.
we just have to:
1. Click Start button (Windows);
2. Select: run ;
3. Write: regedit
4. Browse to

HKEY_LOCAL_MACHINE\Software\Wow6432Node\MicroStrategy\JNI Bridge 64\Configuration\JVM Options\
 
5. Double click on the registry: HeapMaxSize
 
6. Change the default value to something greater.
 
Example: It would show something like 512M that means you have 512 MB size, I increased this upto 1024M that is: 1024 * 1 = 1GB RAM for max heap size. Always use number with a M at the end without spaces. Restart your IIS .
 
Restart of IIS is required to change this setting .

Comments