| Author |
outOfMemory
|
hamlin stephen
Ranch Hand
Joined: Dec 11, 2003
Posts: 45
|
|
Hi, I have one JTable in my application and renderer is added with it. but while I am resizing the table header(wiht Columns)a lot of time.. by dragging. I am getting outOfMemory error any solution for this.? Please help it is urgent. [ March 06, 2006: Message edited by: hamlin stephen ]
|
 |
John Wetherbie
Rancher
Joined: Apr 05, 2000
Posts: 1441
|
|
|
You might try increasing the amount of memory allocated (heap size) for your JVM using the -Xms and -Xmx options.
|
The only reason for time is so that everything doesn't happen all at once.
- Buckaroo Banzai
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
|
Sounds like you have a memory leak. What renderer do you use?
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
hamlin stephen
Ranch Hand
Joined: Dec 11, 2003
Posts: 45
|
|
I am using my own tableCellRenderer... in paintCell()//for rendering data method I am setting the renderer. but when dragging the table header with mouse the renderer object keep on increasing... destroy() is there but not calling it..
|
 |
 |
|
|
subject: outOfMemory
|
|
|