PC Review


Reply
Thread Tools Rate Thread

Release Memory

 
 
S Shulman
Guest
Posts: n/a
 
      2nd Feb 2006
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


 
Reply With Quote
 
 
 
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      3rd Feb 2006
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


 
Reply With Quote
 
S Shulman
Guest
Posts: n/a
 
      3rd Feb 2006
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


"Cor Ligthert [MVP]" <(E-Mail Removed)> wrote in message
news:OKm%(E-Mail Removed)...
> 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
>
>



 
Reply With Quote
 
Cor Ligthert [MVP]
Guest
Posts: n/a
 
      3rd Feb 2006
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


 
Reply With Quote
 
S Shulman
Guest
Posts: n/a
 
      3rd Feb 2006
The exception was raised when I run a number of instances of this high
consuming memory program.
Thank you,
Shmuel

"Cor Ligthert [MVP]" <(E-Mail Removed)> wrote in message
news:%(E-Mail Removed)...
>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
>



 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process? Daniel Microsoft ADO .NET 1 19th Sep 2007 06:01 AM
i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process? Daniel Microsoft Dot NET 1 18th Sep 2007 04:45 PM
i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process? Daniel Microsoft Dot NET Framework 2 18th Sep 2007 04:02 PM
i seem to be having memory issues, will deplying a release build instead of a debug build help with memory usage of my .net process? Daniel Microsoft C# .NET 2 18th Sep 2007 11:24 AM
GC does not release memory...memory keeps growing!!!! Mahesh Prasad Microsoft Dot NET Framework 15 11th Jan 2004 06:13 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 12:20 AM.