Previous Topic: Reporting

Next Topic: Satisfy=All Not Working Properly in XML File

Error When Capturing Snapshot Data with ExportAll.xml

When using the ExportAll.xml snapshot definition to capture snapshot data, the process fails with the error "java.lang.OutOfMemoryError: Java heap space." This issue occurs when a large number of objects, such as users, are loaded into memory.

Workaround

Increase the heap settings in the application server startup script. Consider increasing the heap size to 1000 MB allocated, 1400 MB maximum.

Also, in the snapshot definition XML files, consider splitting the filter condition for the objects into multiple conditions. For example, instead of using the wildcard filter (*) to load all users, specify a multiple filters, such as "user id starts with 'a'", "user id starts with 'b'", and so on.