Win a copy of Murach's Python Programming this week in the Jython/Python forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

jtable out of memory error!!  RSS feed

 
wip siva
Ranch Hand
Posts: 36
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hi friends
i am working on swing.i am displaying live data on jtable.data will be
continously updated on the table.(scroll).if i kept open for 30 minutes
it is giving out of memory error.i am running two threads one is to receive the data and another is to put it on the table.
i am removing the firstrow after 500 rows.removing from the tablevector
(for performance).
plz help me why i am getting outof memory error
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure you are null-ing out any variables that you are getting rid of. This will ensure that the memory they used is recovered.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!