I'm facing some critical memory consumption issues when using JFXtras Agenda. First I thought it's on me, because I've implemented my own Skin which produces variable number of 'columns'. But it's the same problem with the FXSampler application. After 5-10 minutes playing arround, adding appointments, deleting appointments, switching skins, etc.. visualVM tells me a heap size of about 1,2GB (three fourth of it used)
I tried to find a solution but no success so far. What I can say is: Deleting and adding the appointments is very heavy - when I don't empty my observable list when switching the skins I nearly have no memory problem. 'Somehow' the appointments and some listeners (e.g. appointmentsListChangeListener) still stay active after switching my skins, although they should have been removed.
Maybe any ideas?
Thank you!!
Update: A heap dump using VisualVM now allowed me to have a look at the class instances. Unfortunately I still cannot post images, but some examples:
com.sun.javafx.geom.RectBounds: 697990 instances
AppointmentRegularBodyPane: 9236 instances
AppoitmentMenu: 9236 instances
... so there really seems to be a problem with destroying old objects
Fixed a number of listener memory issues in 8.0-R4