B4J Question How to keep Serieses in a JFXChart w/o eating up memory?

positrom2

Active Member
Licensed User
Longtime User
Hi,
In a Chart, when adding a couple of new Serieses but not removing previously added ones, the Java memory is quickly filling up until the app stalls. (This had previously led me to the (wrong) assumption that there is a significant memory leak.) But, is there a way to keep "old" Serieses (which I would like)?
Or, instead, using Canvases for plotting, would that avoid the memory problem?
 
Top