OL Learn

Create Job - OutOfMemoryError: Java heap space


I’m receiving OutOfMemoryError running large jobs in Connect. Job consists of ~170 input PDF files with total of ~78.000 records.
CreateJob plugin use external sort function in preset that returns two fields that need to be imported in metadata. Is there solution for this problem other then “split input files in two jobs”?

DEBUG: 10:50:27.493 [0036] Starting plugin Create Job - 10:50:27 AM
DEBUG: 10:50:27.493 [0036] Job Config: %{jobConfig}
DEBUG: 10:50:27.493 [0036] Parsed Job Config: Common sort.OL-jobpreset
DEBUG: 10:50:27.528 [0036] Create the rest client
INFO : 10:50:27.529 [0036] Creating Job…
DEBUG: 10:50:27.529 [0036] Using cached config file (id = 27524796).
DEBUG: 10:50:27.529 [0036] Starting job creation operation…
DEBUG: 10:50:27.541 [0036] [2019-11-03 10:50:27.541] Job creation> Retrieving results
ERROR: 11:49:39.538 [0036] W3001 : Error while executing plugin: HTTP/1.1 500 OutOfMemoryError: Java heap space
ERROR: 11:49:39.538 [0036] Create Job: W1603 : Plugin failed - 11:49:39 AM (elapsed time: 00:59:12:045)


To help you properly we would need to see the Template and reproduce the issue. I suggest you open a technical support ticket through our website.