Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Heavy GC pressure with default GameProfiler script #2587

Open
Doprez opened this issue Dec 29, 2024 · 0 comments
Open

Heavy GC pressure with default GameProfiler script #2587

Doprez opened this issue Dec 29, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@Doprez
Copy link
Contributor

Doprez commented Dec 29, 2024

Release Type: Official Release

Version: 4.2.0.2282

Platform(s): windows 11

Describe the bug
When the GameProfiler script is added to the scene, it puts the GC under a very heavy load.

To Reproduce
Steps to reproduce the behavior:

  1. Add GameProfiler script to project
  2. Add to the scene
  3. see constant SOH allocations

Expected behavior
The GameProfiler should not effect benchmarking in a significant way. It also seems to constantly allocate over time without cleaning up? I saw an increase of about 10MB over a 10 minute run.

Screenshots
Image

Log and callstacks
None, I can try to run dotmemory when I have the time though.

Additional context
This was reported by @jkh404 in the community toolkit repo. stride3d/stride-community-toolkit#189

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant