OutOfMemory exceptions causing production outage
SummaryThe Pega application is intermittently experiencing Out-Of-Memory (OOM) exceptions. These do not occur every day, but rather happen a few times a week.
Error MessagesOutOfMemory: Java heap space
Steps to ReproduceThere is not a specific set of steps to reproduce.
Root CauseAn issue in the custom application code or rules: The application was creating thread-level data pages on each interaction. Under certain circumstances, these thread-level data pages were of moderate size (2 - 5 MB), and because there were such a high number of them created for each user on each thread, the aggregate accumulation of data pages led to a memory outage.
ResolutionUser application has been modified to restrict the amount of content returned to the thread-level, per interaction data pages.
This has reduced memory consumption and has avoided outages.
Published July 15, 2016 - Updated July 27, 2016