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

File Listener fails in the production environment

SA-39784

Summary



File Listener fails in the production environment for large files.



Error Messages

[FILE-Thread-9558] [STANDARD] [APP:01.01.01] (services.file.FileListener) WARN File.FileListener|process|A414C5F290D8086BA6EAFF08826BF4528|1497462684988000 your_user - Caughtthrowable processing your_file.tmp; see Log-Service-File for more detail.
java.lang.OutOfMemoryError: Java heap space




Steps to Reproduce

Add a large file into the File Listener directory.



Root Cause

A defect or configuration issue in the operating environment. Enable debugging on com.pega.pegarules.integration.engine.internal.services.file.FileListener for the warning about heap space.

Insufficient memory on the JVM to process large files.




Resolution

Modify the following JVM parameter:

Remove:
-XX:+UseG1GC -XX:MaxGCPauseMillis=350 -XX:InitiatingHeapOccupancyPercent=75

Add:
-XX:+UseConcMarkSweepGC -XX:+UseParNewGC

Published August 22, 2017 - 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