Home All Groups Group Topic Archive Search About
Author
2 Feb 2006 6:57 PM
S Shulman
Hi

I am looking for ways to reduce memory consumption by the VB.NET program. I
use a spell checker that consume too much memory and when it doesn't work I
set it to Nothing, I then call the Garbage Collector GC.Collect but it
doesn't seem to help

Any suggestions?

Thank you,
Shmuel Shulman

Author
3 Feb 2006 8:06 AM
Cor Ligthert [MVP]
Shulman,

What is the problem with consuming memory. It can be a problem as to much
handles are consumed, however existing memory you can use until there is
still one byte.

By the way, the used memory showed in the taskmemory has a very long delay
and says mostly nothing more than a very insecure indication.

Cor
Author
3 Feb 2006 11:05 AM
S Shulman
Thanks for your reply,

All I know that is slows down the system, I also get 'Out of Memory'
Exceptions and finally, if the problem is the handles (and that it what
slows the system) then what is the solution there?

Cheers,
Shmuel


Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:OKm%23eiJKGHA.3100@tk2msftngp13.phx.gbl...
> Shulman,
>
> What is the problem with consuming memory. It can be a problem as to much
> handles are consumed, however existing memory you can use until there is
> still one byte.
>
> By the way, the used memory showed in the taskmemory has a very long delay
> and says mostly nothing more than a very insecure indication.
>
> Cor
>
>
Author
3 Feb 2006 12:05 PM
Cor Ligthert [MVP]
S Shulman,

An Out of Memory extention has in most situations an endless loop, are you
sure that that is not in your program. Simple adding an index to a combobox
inside a combobox change event can already be the reason for that.

Cor
Author
3 Feb 2006 12:31 PM
S Shulman
The exception was raised when I run a number of instances of this high
consuming memory program.
Thank you,
Shmuel

Show quoteHide quote
"Cor Ligthert [MVP]" <notmyfirstn***@planet.nl> wrote in message
news:%23LWsFoLKGHA.2696@TK2MSFTNGP14.phx.gbl...
>S Shulman,
>
> An Out of Memory extention has in most situations an endless loop, are you
> sure that that is not in your program. Simple adding an index to a
> combobox inside a combobox change event can already be the reason for
> that.
>
> Cor
>