dwmkerr / dwmkerr/sharpgl

SharpGL for WPF call to GC.Collect

Open
#110 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
C#
Stars
804
Forks
294
Avg merge
3d 23h
Merged PRs (30d)
1

Description

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

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.