Memory usage of my application?

From: Dado (mario_zupan_at_inet.hr)
Date: 03/27/05


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?



Relevant Pages

  • Re: Possible memory leak using $sth->{NAME} ?
    ... database, should do everything necessary to demonstrate the behavior. ... # In order to reproduce the leak, ... # memory usage, I just made a loop that demonstrates the leak. ... # seconds to pause at beginning and end of loop to permit memory observation ...
    (perl.dbi.users)
  • Aspnet Worker Thread Memory Usage
    ... hosted at discount asp. ... queries a database a lot and uses ... ajax.asp.net to spice up interactivity. ... Now I already tried to strip down memory usage, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Memory usage of my application?
    ... > I have a small application which conects to the database and wrote some 2d ... I track the memory usage, while I opening and close the next ... gui stuff (I know that I must dispose JFrames) or what? ...
    (comp.lang.java.help)
  • Re: ASP.NET application more than 200MB virtual memory
    ... this utility will scan the memory usage for you ... > using strings can cause huge memory usage, ... >> Access MySQL database using nHibernate which manages the database ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: Memory problem with imagecreatefromstring function
    ... You should resize the picture first, then it into the database. ... > numbered message about the memory usage. ...
    (comp.lang.php)