Posted Monday, September 20, 2004 @ 18:25:48
Whenever 'DBTableModel.createColumnModel' runs, my memory gets permanently bumped by a few hundred k. Upon some research it appears that the removal of the columns, which takes place at the beginning of that method, only removes half of the columns - leaving the other half to float around the heap (I'm guessing). This appears to be a memory leak. How does a purchasing customer of Quicktable go about getting this repaired? I could do it myself, but I read the license closely.
Here is the code problem:
DBTableModel.createColumnModel - lines 65,66:
for(int i=0; i< tableColumns.size();i++)
removeColumn((TableColumn)tableColumns.elementAt(i));
the test in the for loop: 'tableColumns.size()' returns a smaller number after each 'removeColumn' in the body of the for loop, thus only half of the tableColumn entries will be removed.