Home / Vulnerability Database / C-sharp : Explicit garbage collection
C#

C-sharp : Explicit garbage collection

Overview

Direct system garbage collector call (GC.Collect()) indicates problems with the application performance.

Garbage collector call is often used to deal with errors, whose cause is unknown. The most likely causes of errors in such cases is incorrect use of mechanisms of synchronization, buffering or race conditions.

According to the .NET specification, even a GC.Collect() call does not guarantee the complete freeing of unused memory immediately after the call.

LOW

DerScanner Severity Score

Do you want to fix C-sharp : Explicit garbage collection in your application?

See also

C#

C-sharp : JWT: None Algorithm

C#

C-sharp : Insecure data transmission: Database

C#

C-sharp : Only one of method Equals() and GetHashCode() defined