This week's book giveaway is in the Agile and Other Processes forum. We're giving away four copies of The Little Book of Impediments (e-book only) and have Tom Perry on-line! See this thread for details.
Hello, I have a question concerning the performance of a database query. The problem is as follows : I have a jList with items... When the user selects one, a query is made on the database to do a selection of fields which are then displayed in a jTable (I use an AbstractTableModel to obtain this). Everything works fine except when I use the application for a while (i.e. selecting about 10 or more elements from the jList) my memory-usage is boosting up and doesn't go down ! After a while I receive an "out of memory error" and the whole thing stops working.. Is there a way to restore the memory used after a database-query or does this mean that there is something wrong in my program ?? Here is the code to the event which's starts the query ... Could anybody give me some help .. Thanks.... Kristof
[ Edited by Dave to format code ] [ March 26, 2002: Message edited by: David O'Meara ]