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

Particle emitter has a huge memory issue #6125

Closed
1 task done
ZachjuKamashi opened this issue Dec 24, 2023 · 7 comments · Fixed by #6278
Closed
1 task done

Particle emitter has a huge memory issue #6125

ZachjuKamashi opened this issue Dec 24, 2023 · 7 comments · Fixed by #6278

Comments

@ZachjuKamashi
Copy link

ZachjuKamashi commented Dec 24, 2023

Is there an existing issue for this?

Describe the bug

As the title suggests, there is a huge memory issue regarding the particle emitter where it acts as it doesn't get deleted, even though it should resulting in huge amount of ram usage. This doesn't also go away if you reload the scene or go to another, the ram usage stays the same.

Screenshot (649)

MemoryLeakFoundPartThree.zip

Steps to reproduce

  1. create a simple particle emitter
  2. use the particle emitter many times
  3. Observe results after a little while

Instructions also included in test project

GDevelop platform

Desktop, Web, Mobile

GDevelop version

5.3.186

Platform info

Windows 10 LTSC 21H2 (OS Build 19044. 1288)

Additional context

No response

@VanCastar
Copy link

Could this be a related issue that was reported in here?
#3496

@ZachjuKamashi
Copy link
Author

Could this be a related issue that was reported in here? #3496

Maybe? but really high ram usage was never mentioned or talked about in it. though a memory leak is indeed mentioned. I opened the project of that issue and the ram usage does indeed increase about as much as this one if maybe a little slower so it is related. It would also appear this memory issue also leaks into the editor as I left it running until it consumed 5GB of ram, closed the preview and now it's staying at 1.2GB of ram usage versus before where it was around 80mb for that process.

@ClementPasteau
Copy link
Collaborator

could also be related to your issue #6003 (even if not 3d)

@D8H
Copy link
Collaborator

D8H commented Jan 18, 2024

Was the issue with the 3D particle emitter or the 2D one?

@ZachjuKamashi
Copy link
Author

Was the issue with the 3D particle emitter or the 2D one?

This specific issue is for the 2D particle emitter. Refer to the test project included in this post alongside the screenshot

@ZachjuKamashi
Copy link
Author

After leaving the bug report test project running on background for half an hour, I can confirm that this bug has indeed been fixed

@D8H
Copy link
Collaborator

D8H commented Jan 26, 2024

Thank you for testing it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

4 participants