When will Table.associatedProperties get cleared out?

Hi, I’m using table with BeanItemContainer inside a dialog, the dialog instance persist in memory, but every time it starts it will populate the BeanItemContainer with items, and when dialog is closed BeanItemContainer.removeAllItems() is called to remove all items.

When I test this the memory profiler indicates that even through BeanItemContainer is empty there’s still a reference exist in Table.associatedProperties which cause my objects not being garbage collected, I’ve tried calling Table.refreshRowCache() which doesn’t seem to help, so is this a bug? if not what should I do to clear up Table.associatedProperties?