 |
AppletTalk.com Java discussions newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Dado Guest
|
Posted: Sun Mar 27, 2005 8:41 am Post subject: Memory usage of my application? |
|
|
I have a small application which conects to the database and wrote some 2d
graphics. I track the memory usage, while I opening and close the next
database, and I saw that memory usage is growing although I try to clean
everything:
shutdown the database, close the ResultSet, dispose the JFrames and finally
I System.gc().
1. In the case when my application close/open database file and create gui
again which variables I need to initialized to null ?
2. How to see what variables are not null ?
3. which variables, can in your opinion, cause that memory usage grow? Is it
database stuff, gui stuff (I know that I must dispose JFrames) or what?
|
|
| Back to top |
|
 |
Dado Guest
|
Posted: Fri Apr 01, 2005 7:38 am Post subject: Re: Memory usage of my application? |
|
|
Dado wrote:
| Quote: |
I have a small application which conects to the database and wrote some 2d
graphics. I track the memory usage, while I opening and close the next
database, and I saw that memory usage is growing although I try to clean
everything:
shutdown the database, close the ResultSet, dispose the JFrames and
finally I System.gc().
1. In the case when my application close/open database file and create gui
again which variables I need to initialized to null ?
2. How to see what variables are not null ?
3. which variables, can in your opinion, cause that memory usage grow? Is
it database stuff, gui stuff (I know that I must dispose JFrames) or what?
|
Seems that I was badly describe the problem or my question is not on right
place.
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|