Release Memory

S

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
 
C

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
 
S

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
 
C

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
 
S

S Shulman

The exception was raised when I run a number of instances of this high
consuming memory program.
Thank you,
Shmuel
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top