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

Attaching file more than 2 MB takes huge time



Attaching file size more than 2 MB takes huge time.

In Claims application attaching 2 MB file takes close to 80 sec. Attaching 10 MB file hangs the system for ever. Same attachment in other application loads instantaneously.

Error Messages

For 2 MB files it is taking significant time. System hangs for ever for attachment more than 10 MB in size.

Steps to Reproduce

Attach a 10 MB file.

System hangs. Production users are not able to attach big file which they were used to do in PRPC 6.2.

Root Cause

A defect or configuration issue in the operating environment:

As per the installation guide ( the value for the JVM argument Xgcpolicy should be either gencon or optavgpause.


Perform the following local-change:

As per the PRPC installation guide (, for JVM argument Xgcpolicy either gencon or optavgpause should be used as a value.

​Choice should be made on nature of objects. For long lived objects optavgpause can be used as a value, whereas for high performance and short lived objects gencon should be used.

Published January 9, 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