VB.NET : Explicit garbage collection
Overview
Direct system garbage collector call (System.gc()) 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 Java specification, even a System.gc() call does not guarantee the complete freeing of unused memory: JVM only “expend effort toward recycling unused objects”.
DerScanner Severity Score
Check your VB.NET code for this vulnerability, free
Request a free pilot of DerScanner. We give you access and help with the first scan. It works in the cloud and on-premise.
Try it on your code, free
By submitting this form, I acknowledge that DerScanner may process my personal data I provided above for purposes explained above. More details about the processing.
