craftleft.gif (3002 bytes)QuickTable
Home | API | Tutorial | Download | Support | Contact topblack.gif (108 bytes)


QuickTable User Cp  |  Register  |  Members  |  Search  |  Help
    |- QuickTable Discussion Forums > General QuickTable Support/Help Post New Topic   Post A Reply
Memory Leak? printer friendly version
next newest post | next oldest post
Author Messages
cogitoboy
Private

Gender: Unspecified
Location:
Registered: Sep 2004
Status: Offline
Posts: 3

Click here to see the profile for cogitoboy Send email to cogitoboy Send private message to cogitoboy Find more posts by cogitoboy Edit or delete this message Reply w/Quote
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.

Admin
Board Owner

Gender: Unspecified
Location:
Registered: Jul 2003
Status: Offline
Posts: 9

Click here to see the profile for Admin Send email to Admin Send private message to Admin Find more posts by Admin Edit or delete this message Reply w/Quote
Posted Sunday, September 26, 2004 @ 20:25:03  

Thanks for notifying this problem.
Please download the latest quicktable version "2.0.5.11". This problem has been resolved.
Post New Topic   Post A Reply Jump to:
Contact Us | QuickTable - A Java DBGrid | Privacy Policy All times are GMT -5 Hours.
Welcome to QuickTable Forums, Guest!  
Login
Username :
Password :
In order to fully utilize the abilities of this board, you are required to register as a member. Registration is free, and allows you to do lots of things including turning on or off certain features of this board. Register now!
Powered by CuteCast v2.0 BETA 2
Copyright © 2001-2003 ArtsCore Studios