Memory usage of my application?
From: Dado (mario_zupan_at_inet.hr)
Date: 03/27/05
- Next message: Andy Flowers: "Re: won't catch some chars"
- Previous message: littlewild_at_gmail.com: "Re: java.lang.ClassNotFoundException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Sun, 27 Mar 2005 10:41:45 +0200
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?
- Next message: Andy Flowers: "Re: won't catch some chars"
- Previous message: littlewild_at_gmail.com: "Re: java.lang.ClassNotFoundException"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|