Watch, Follow, &
Connect with Us
Public Report
Report From: Blackfish SQL/Data Express    [ Add a report in this area ]  
Report #:  26454   Status: Reported
QueryDataSet.refresh() creates memory leak
Project:  JDataStore Build #:  JBuilder 2005
Version:    6 Submitted By:   Khanh Nguyen
Report Type:  Crash / Data loss / Total failure Date Reported:  3/23/2006 1:38:56 PM
Severity:    Critical / Show Stopper Last Updated:
Platform:    All versions Internal Tracking #:  
Resolution: None  Resolved in Build: : None
Duplicate of:  None
Voting and Rating
Overall Rating: No Ratings Yet
0.00 out of 5
Total Votes: None
Description
Keep calling QueryDataSet.refresh() creates memory leak which eventually leads to application crashing.  This happen w/ Oracle 9i Lite and JBuilder 2005.
Steps to Reproduce:
1.  Create Database connection.
2.  Create QueryDataSet w/ actually query.
3.  Create Frame.
4.  Create TableScrollPane and add to Frame.
5.  Create JdbTable and add to TableScrollPane.
6.  Set JdbTable.setDataSet(QueryDataSet).
7.  Create javax.swing.Timer w/ listener doing QueryDataSet/.refresh().
8.  Show Frame.
9.  Start Timer.
10.  Monitor the memory usage, we see memory keeps increasing until application crashes.


Workarounds
None
Attachment
None
Comments

None

Server Response from: ETNACODE01