Mate-Engine icon indicating copy to clipboard operation
Mate-Engine copied to clipboard

[BUG] GC Stack Overflow

Open shinyflvre opened this issue 1 year ago • 6 comments

What happened?

Image

The app crashes after extended use, typically after 8+ hours of continuous operation. This is likely due to a C# script causing a garbage collection (GC) leak—possibly from a list that keeps duplicating without being cleared, preventing the GC from properly reclaiming memory. While it's not critical since most users won't run the app for that long, it's still an annoying issue in my eyes.

Steps to Reproduce

Use the app for around 8+ hours.

App Version

1.5.0-GM

Store Edition

GitHub Edition

Confirmation

  • [x] I confirm this report includes only one bug.

shinyflvre avatar Apr 15 '25 03:04 shinyflvre

Leaking GameObjects via Instantiate() Spawning untracked coroutines (AutoDestroy()) on hover EnumWindows() → allocates new WindowEntrys ToString() → allocates new class name strings Rect boxing → adds to GC New Process objects New strings from process names Frequent GetBoneTransform() calls

Rank Script GC Severity
1 PetVoiceReactionHandler.cs 🟥 Critical Leak
2 AvatarWindowHandler.cs 🟥 Critical Leak
3 AvatarAnimatorController.cs 🟥 Major Leak
4 UniversalBlendshapes.cs 🟧 Moderate–High
5 AvatarMouseTracking.cs 🟧 Moderate
6 AvatarTaskbarController.cs 🟨 Low

Keeping an eye on those today.

shinyflvre avatar Apr 15 '25 08:04 shinyflvre

Should be fixed we will see. Debug test for 12 Hours in idle.

shinyflvre avatar Apr 15 '25 18:04 shinyflvre

Marked as fixed

shinyflvre avatar Apr 16 '25 00:04 shinyflvre

Re-Open as the Memory Leak was Fixed indeed but a GC Overflow can still happen after 12-14 Hours

shinyflvre avatar Apr 17 '25 04:04 shinyflvre

Closing this Again as another mem issue was fixed in 1.5.6

shinyflvre avatar Apr 17 '25 05:04 shinyflvre

I recently encountered this issue, which may be related to Windows unlocking. This morning, when I unlocked my company’s computer, this dialog appeared. It’s the second time I have seen this dialog. I installed the application on July 28, and it’s version 1.8.9.

Aincvy avatar Aug 25 '25 07:08 Aincvy