AppletTalk.com Forum Index AppletTalk.com
Java discussions newsgroups
 
Archives   FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Memory usage of my application?

 
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help
View previous topic :: View next topic  
Author Message
Dado
Guest





PostPosted: Sun Mar 27, 2005 8:41 am    Post subject: Memory usage of my application? Reply with 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?

Back to top
Dado
Guest





PostPosted: Fri Apr 01, 2005 7:38 am    Post subject: Re: Memory usage of my application? Reply with quote



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
Display posts from previous:   
Post new topic   Reply to topic    AppletTalk.com Forum Index -> Java Help All times are GMT
Page 1 of 1

 
Jump to:  
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


Powered by phpBB © 2001, 2006 phpBB Group
SEO toolkit © 2004-2006 webmedic.