Skip to main content

This content has been archived and is no longer being updated. Links may not function; however, this content may be relevant to outdated versions of the product.

Support Article

OutOfMemoryError error on attaching files that exceed 310 MB




Error message displays on screen when attaching files to a work object. This occurs when the file size exceeds 310 MB. Additionally, performance degrades when the file size exceeds 50 MB.


Error Messages

java.lang.OutOfMemoryError: Java heap space

Steps to Reproduce

  1. Use out-of-the-box Attach File feature.
  2. Start Attach File flow action.
  3. Select a file with size more than 310 MB.

Root Cause

This issue was determined to be a product enhancement request.


An enhancement request, FDBK-25319, is created for consideration by Pega Product Management. 

Alternatively, perform the below actions:
  • Increase heap size
  • Use other repositories

Published October 11, 2018 - Updated October 8, 2020

Was this useful?

0% found this useful

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Did you find this content helpful?

Want to help us improve this content?

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us