Hello,
my project is using primefaces charts (4.0.17 and 5.04) and especially stacked barcharts. One of them is drawing 12 series of 40 stacked points each.
The fact is that the navigator uses a huge amount of RAM memory to paint it (near 1 GB), causing a crash of the computer (Firefox + Windows 7) due to the reach of the max RAM available.
Does anyone think it's normal ?
Thanks a lot.
Best regards.
Charts, jqplot and client memory usage
Sorry but I' m not used to plain jqplot. I can t do it easyly.
My chart is a p:chart or a p:barchart with a cartesiandatamodel or a barchartmodel (i tried both).
I desactivated the extender too but still can see a huge amount of memory on client side.
My chart is a p:chart or a p:barchart with a cartesiandatamodel or a barchartmodel (i tried both).
I desactivated the extender too but still can see a huge amount of memory on client side.
JEE7 / Java 8 / Glassfish 4.1 / Wildfly 11/ Primefaces 6.2.x / Oracle 11G & PostGreSQL 9.x
Vue.js / PrimeVue
Vue.js / PrimeVue
-
- Posts: 6144
- Joined: 10 Sep 2011, 21:10
i searched google forCORSIC wrote:my project is using primefaces charts (4.0.17 and 5.04) and especially stacked barcharts. One of them is drawing 12 series of 40 stacked points each.
The fact is that the navigator uses a huge amount of RAM memory to paint it (near 1 GB), causing a crash of the computer (Firefox + Windows 7) due to the reach of the max RAM available.
Does anyone think it's normal ?
jqplot memory crash
and found a lot of chatter out there on the internet. have you done the same and see if there are recommendations that have been out there (for years)?
are you using ajax=true or ajax=false to update/render charts on your page? if you are doing ajax=true to update/render charts, then what is the typical/normal amount of ajax=true requests to update/render charts, and when does the crash occur? when charts are rendered first time or after multiple ajax=true requests to update/render charts?
Howard
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
PrimeFaces 6.0, Extensions 6.0.0, Push (Atmosphere 2.4.0)
TomEE+ 1.7.4 (Tomcat 7.0.68), MyFaces Core 2.2.9, JDK8
JUEL 2.2.7 | OmniFaces | EclipseLink-JPA/Derby | Chrome
Java EE 6 Tutorial|NetBeans|Google|Stackoverflow|PrimeFaces|Apache
i didn't find any solution by internet chatters. The crash occurs at first loading time. We use ajax=true. Memory is freed as soon as we do a ajax false navigation. The way it works seems to be ok, the issue is that the client navigator use 1 GB RAM for it.
Only FF 23.0.1 seems to allocate a very low amount of RAM. Can't understand ...
The component used is a p:chart and the dataModel is a bartchartModel (stacked). Number of series is 12 and number total of points in these series is 400.
Only FF 23.0.1 seems to allocate a very low amount of RAM. Can't understand ...
The component used is a p:chart and the dataModel is a bartchartModel (stacked). Number of series is 12 and number total of points in these series is 400.
JEE7 / Java 8 / Glassfish 4.1 / Wildfly 11/ Primefaces 6.2.x / Oracle 11G & PostGreSQL 9.x
Vue.js / PrimeVue
Vue.js / PrimeVue
-
- Information
-
Who is online
Users browsing this forum: No registered users and 44 guests