C# Class Binarysharp.Benchmark.Components.GcMemoryOptimizer

Class that optimizes the memory of the current process by running the Garbage Collector.
Inheritance: IMemoryOptimizer
Show file Open project: ZenLulz/BenchShark

Public Methods

Method Description
OptimizeMemory ( ) : void

Optimizes the memory of the current process by forcing a garbage collection.

Method Details

OptimizeMemory() public method

Optimizes the memory of the current process by forcing a garbage collection.
public OptimizeMemory ( ) : void
return void