We have a huge Html Dialog that uses around 80 MB memory per session on the engine side. The dialog is like a wrapper for the full application. It contains multiple tabs and modal dialogs Why is this Dialog consuming so much memory? Are there any best practices to build lightweight JSF dialogs? asked 20.11.2017 at 07:54 SupportIvyTeam ♦♦ |
Why so much memory is used Invisible parts on the UI take memory on the engine because normally the HTML of these dialogs and tabs are eagerly loaded. The whole HTML code is generated and the view state is held on the engine. This requires processing power and memory. One can quickly identify such parts in a JSF dialog by using the Firefox + Inspect the page content. Loaded but not visible parts are shown as grayed out HTML in the console: How to solve it Use the A lightweight solution for modal dialogs: In this example we have a button that controls the
With the Weisshorn Sprint 3 release of Axon.ivy the full sample can be analyzed in the answered 20.11.2017 at 07:56 Reguel Werme... ♦♦ one of our customers has 24 modal dialogs in multiple tabs. by applying the
(20.11.2017 at 08:09)
SupportIvyTeam ♦♦
From the ivy.core we want to lower the pain of these refactorings by solving the following issues:
(20.11.2017 at 08:33)
Reguel Werme... ♦♦
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 20.11.2017 at 07:54
Seen: 3,646 times
Last updated: 20.11.2017 at 08:45