dcsimg

Increasing the default Report Exporter memory

Products

Webtrends Analytics 8.x
Webtrends Analytics 9.x

Cause

By default the Webtrends Report Exporter allocates 64mb of memory for exporting reports. When exporting a large amount of data it is possible to exceed the default limits, outlined in the steps below.

Resolution

1. Navigate to \Webtrends Report Exporter installation folder.
2. Open wtdocutil.bat in a text editor.
3. Change

REM set JVM_OPTS=-Xmx256m

to

set JVM_OPTS=-Xmx256m

4. Save the changes, then attempt to export again.

Webtrends Report Exporter must be able to allocate 256MB of contiguous memory for this setting to take effect or the export will fail. In some rare cases it is necessary to change:

set JVM_OPTS=-Xmx256m

to

set JVM_OPTS=-Xmx1024m

The workstation on which the Webtrends Report Exporter is running needs to have enough memory installed to allocate one gigabyte of contiguous memory. If the machine lacks sufficient resources this must be increased or the export will fail. If exports continue to fail after making these changes it is recommended that the export be run as a scheduled job on the server rather than use the client-based Report Exporter.