Memory Problem
- From: javiers <javier.scayola@xxxxxxxxx>
- Date: 24 May 2007 05:57:26 -0700
My VB.NET application is having a memory problem. It consist in a menu
form (mform) which calls other forms (oform). Actually, the mform
doesn't call the oform directly, it creates a new thread where the
oform is created and called. When the oform is closed its thread is
set to nothing, but the oform's memory remains.
I'm using MemProfiler in order to know which objects are allocated in
memory. I've also used perfmon invoking the GC and I can see that the
memory keeps increasing. I thought that when the thread, which has
created the oform, is released the oform would be released too. But my
app don't behave like that.
Is it posible to create a thread that when is finished disposes all
its objects? What could be happening to my app?
Thanks in advance.
.
- Follow-Ups:
- Re: Memory Problem
- From: Alvin Bruney [MVP]
- Re: Memory Problem
- From: Mattias Sjögren
- Re: Memory Problem
- Prev by Date: Re: toshiba satellite laptop function problem
- Next by Date: Re: Memory Problem
- Previous by thread: Re: toshiba satellite laptop function problem
- Next by thread: Re: Memory Problem
- Index(es):
Loading