DLP Vector Machine Learning (VML) training fails with the error: "OutOfMemoryError: Java heap space"
search cancel

DLP Vector Machine Learning (VML) training fails with the error: "OutOfMemoryError: Java heap space"

book

Article ID: 276270

calendar_today

Updated On:

Products

Data Loss Prevention Core Package

Issue/Introduction

DLP VML learning of positive and negative files may fail with "OutOfMemoryError: Java heap space" errors.

You may see the following error in the machinelearning_training_0_0.log:

Jun 15, 2023 8:03:33 AM com.vontu.machinelearning.training.MLDTrainingProcess exitWithError
INFO: Unhandled exception in training process.
java.lang.OutOfMemoryError: Java heap space

Increasing the JavaHeap does not resolve the issue.

Environment

DLP 16.0, 16.0_MP2_Hotfix

Cause

This error can occur if there are too many documents in the VML training files that contain enbedded images.

Resolution

Remove the embedded images from the files being used for VML training.