Getting a list of static objects.

From: Peter Strĝiman (blah_at_blahblahblah)
Date: 03/29/04


Date: Mon, 29 Mar 2004 16:32:48 +0200

Hi.

I have a test application that loads some data from a database. This process
is then iterated a number of times, and the memory consumption of the
application is rapidly rising.
Since the garbage collection is running, it must be because some static or
stack variable is holding a reference ( I use static variables heavily for
caching data ).

Is there a way to get a list of static and stack objects?

Thanks in advance,
Peter Strĝiman



Relevant Pages

  • Judging whether a URL exists among millions, insert if not
    ... database with new URLs, firstly, I have to judge whether a certain URL ... tree or B-tree. ... save the reminding string in a sorted list or B-tree/RB-tree. ... Considering the balance between time and memory consumption, ...
    (comp.ai.genetic)
  • RE: visio 2003 is greedy for memory
    ... I am building a database diagram ... > and each time I am adding a new entity, moving down or up a database ... > I do not have Visual Studio or an old version of Microsoft Visio ... > The new service pack has not fixed that high memory consumption. ...
    (microsoft.public.visio.general)
  • Re: include_once() within a function
    ... Mikhail Kovalev wrote: ... I've never had a PHP file take that long! ... It loads a 1,8 MB array stored as serialized in a file....=) ... A relational database would speed things up considerably. ...
    (comp.lang.php)
  • Re: Error help
    ... processing a very long running operation without pumping Windows ... It has a pretty big memory consumption ... when it loads up, as it loads an array from a text file, something like ... Dim openFileDialog1 As New OpenFileDialog ...
    (microsoft.public.dotnet.languages.vb)
  • Re: Setting drop-down box to database value
    ... You would have to have a recordset that loads the values into the dropdown, ... Total_Hours is a drop-down box. ... | the value stored in the database. ...
    (microsoft.public.frontpage.programming)

Loading