search cancel

Best practices for large portlets/pages and multiple tabs to avoid OOM

book

Article ID: 101588

calendar_today

Updated On:

Products

Clarity PPM SaaS Clarity PPM On Premise

Issue/Introduction

Some users may get impatient and open multiple windows and tabs with the same large request. For example, they try to retrieve thousands of allocations in "Resource Planning - Allocations" or a similar large portlet and it's taking some time to respond.

In the attempt to get the results quicker, the user opens 5-6 browser tabs with the same request. Or they repeatedly close the tabs when the large portlet still spinning, and open new ones

This is going to make the performance much slower as many requests for the same large query hit the application server at the same time. It can, in some cases even bring a single application server down by leading to OutOfMemory(OOM).

Environment

Release: All

Resolution

Best Practices:

  • We recommend to ensure the users are aware of the capabilities of the application and how the requests work.
  • If the user notices a large portlet takes longer, we recommend waiting for the initial session to respond and complete and not opening any additional requests as this would slow things down more.
  • For large portlets, filtering is recommended, to avoid very large queries
  • Doing this would avoid a slowness/hanging or even outage for all users on this server