---
title: "java.lang.OutOfMemoryError"
slug: "javalangoutofmemoryerror-error-message"
updated: 2022-01-04T22:23:00Z
published: 2022-01-04T22:23:00Z
canonical: "success.panaya.com/javalangoutofmemoryerror-error-message"
---

> ## Documentation Index
> Fetch the complete documentation index at: https://success.panaya.com/llms.txt
> Use this file to discover all available pages before exploring further.

# java.lang.OutOfMemoryError

To solve this, run the extraction again as shown below.

**For custom code (ETL)**

java -jar -Xmx1200m panaya-extractor.java <apps password> [<ETL type>]

or

java -jar -Xmx3500m panaya-extractor.java <apps password> [<ETL type>]-Xmx3500m

(Include the <SYSTEM password> for version 12.2 upgrades)

**For patches extract (PTL)**

java -Xmx2048m -jar panaya-ptl-extractor.jar <password> <directory>
