I've found a possible memory leak issue in J7 with Jgtkgrid. If you run a
script that uses grid several times and watch J's memory usage, I noticed
that closing the gtk window does not seem to free the memory it used.  I
used the test script addons/gui/jgtkgrid/test/mygrid.ijs and Windows Task
Manager to watch memory.  Can anyone confirm this?

This normally would not be a big deal, but a script I wrote queries a
database of about 120,000 rows and outputs to a new grid each time. This
often results in large amounts of memory being leaked on each run, which
adds up over time.


As a separate issue, filling a grid with a large amount of data is very
slow, far slower than the database query itself.  In J6, this would be a
perfect place to use virtual grid. This feature has yet to be implemented in
J7, though, and my script is almost unusable with large datasets because of
this.  Most queries I'll be doing will be relatively small, but on the
chance that a query returns a very large dataset, the program will either
crash or just take a very long time to display the grid data.  Any ideas or
thoughts on this?

Thanks,
Justin
----------------------------------------------------------------------
For information about J forums see http://www.jsoftware.com/forums.htm

Reply via email to