how to free memory in vb.net when system show low memory.
how to relese memory in vb.net from system memory dump in vb.net .
Jump to Post
The following code will trigger the garbage collector (that is actually what it is called) to "clean" the system memory of any disposed or redundant objects
System.GC.Collect() System.GC.WaitForPendingFinalizers() System.GC.Collect()
I usually use this if I'm doing a series of complex code inside a loop like this:
All 2 Replies
Be a part of the DaniWeb community
We're a friendly, industry-focused community of 1.20 million developers, IT pros, digital marketers, and technology enthusiasts learning and sharing knowledge.