Java heap space error
search cancel

Java heap space error

book

Article ID: 160189

calendar_today

Updated On: 06-11-2025

Products

Data Loss Prevention Network Monitor Data Loss Prevention Network Prevent for Email

Issue/Introduction

"java.lang.OutOfMemoryError: Java heap space" error message in filereader0.log or localhost logs.

Resolution

Few of the potential reasons for OOM issues:

- Check if policies have been recently modified or added complex exceptions. Normally having more than 10 exceptions is not recommended. Remove them and see if there is a improvement.

- Have EDM's or IDM's been added recently? Try disabling those and check again for memory issues.

- Increase Java memory allocation by following Article Unexpected Error Processing Message

- This is not necessarily the best method for addressing slow processing when no errors are otherwise occurring.

- If the environment is on Linux, try temporarily moving pcap files to some other location.

- See if the network monitor is filling up disk space with vpcap files in drop_pcap. Try moving those files out and see if that allows processing.

But if they are still getting backed up, keep looking for the source of the issue.