sharpgl icon indicating copy to clipboard operation
sharpgl copied to clipboard

SharpGL for WPF call to GC.Collect

Open ThVoss opened this issue 9 years ago • 0 comments

Hi,

I found that the call to GC.Collect takes quite a long time (80-100 ms) in my case. As this call is done in the render process, it directly influences the amount of fps you can achieve.

I know that this call is done to prevent "OutOfMemoryExceptions".

In my opinion this is only required for x86 Targets, as each process can only use ~1GB of Memory.

For an x64 target this Limitation is not there. and it seems to run quite ok here without the GC.Collect call.

Is there any experience with it?

Thank you

Thomas

ThVoss avatar Jun 11 '15 16:06 ThVoss