Error: "java.lang.OutOfMemoryError: Java heap space" during discover scan causing FileReader restarts
search cancel

Error: "java.lang.OutOfMemoryError: Java heap space" during discover scan causing FileReader restarts

book

Article ID: 159502

calendar_today

Updated On:

Products

Data Loss Prevention Network Discover Data Loss Prevention

Issue/Introduction

The Filereader keeps restarting during a discover scan

The Filereader log shows :

SEVERE: Message chain #1 failed to process message - out of memory.
java.lang.OutOfMemoryError: Java heap space

VontuMonitor log  indicates  java crashes

 

Resolution

Increase the java memory allocated to Detection Server process by editing the file SymantecDLPDetectionServer.conf as follows then restart the detection server:

Windows: <Drive>:\Program Files\Symantec\DataLossPrevention\DetectionServer\Services\SymantecDLPDetectionServer.conf
Linux: /opt/Symantec/DataLossPrevention/DetectionServer/Services/SymantecDLPDetectionServer.conf

# Initial Java Heap Size (in MB)
wrapper.java.initmemory=512

# Maximum Java Heap Size (in MB)
wrapper.java.maxmemory=1024

If the problem persists, refer to
DLP File Reader restarts excessively to troubleshoot Filereader restarts 

 


Do not increase the memory beyond 31GB.
At 32GB you lose memory compression and it becomes counter-productive.