Pending Review
Last Updated: 27 Aug 2025 15:53 by Michael D
Michael D
Created on: 27 Aug 2025 15:53
Category: Data Source
Type: Bug Report
0
DataSource - Potential Memory Leak, because disposal is not possible

We have noticed that trees with a large number of items (or deeply nested trees) consume a large amount of memory. We use external dataSources that are passed via the tree's options.

After the tree is destroyed, only a small amount of memory is freed. The rest stays allocated. Recreating the tree several times adds additional allocated memory that never becomes available again.

As far as we've seen, the dataSource itself does not offer a destroy() method or anything similar to free its resources. Is there anything we need to do to destroy the dataSource?

0 comments