This leak is detected while working on issue #8369. To reproduce the problem:
(1) Create a table with 100K rows, each row contains ~10 bytes data.
(2) Open a query panel with Pivot Grid enabled.
(3) Execute 'SELECT * FROM testTableName'
(4) Repeat step (3) a few times.
Every time step (3) is executed, 3 objects are generated and the 16 MB memory used by these objects is never freed up. See attached screenshot for more info.
|
124 KB
SVN trunk/31444 - fixed some of leaks caused by object (2) and object (3) as described in the Pivot-Memory-Leak screenshot. Leak caused by object (1) has something to do with jide/treemap feature: there is a treemap object created in Pivot Grid which seems to be the root cause of the leak. Since jide/treemap feature in not currently supported by ADS, I commented out the instantiation of the treemap object in Pivot Grid (as we did in issue #7273 for Grid) and leak is not seen afterward.
Leave this issue Open, we need to fix treemap related leak when treemap feature is enabled.
Issue #8387 |
Closed |
Completion |
No due date |
No fixed build |
No time estimate |
3 issue links |
relates to #8369
Issue #8369Query Analyzer: high memory consumption |
relates to #7273
Issue #7273Results Compare gives java.lang.ClassCastException |
relates to #8187
Issue #8187Out of memory error |
SVN trunk/31444 - fixed some of leaks caused by object (2) and object (3) as described in the Pivot-Memory-Leak screenshot. Leak caused by object (1) has something to do with jide/treemap feature: there is a treemap object created in Pivot Grid which seems to be the root cause of the leak. Since jide/treemap feature in not currently supported by ADS, I commented out the instantiation of the treemap object in Pivot Grid (as we did in issue #7273 for Grid) and leak is not seen afterward.
Leave this issue Open, we need to fix treemap related leak when treemap feature is enabled.