Jump to content

Memory Leak


Edouard
 Share

Recommended Posts

Hi,

In my game "Left 4 Dead" I have a memory leak, yet I cannot find it.
I am not used to finding memory leaks, but I've really tried my best and I'm starting to give up ever finding it.
I've been at it for a couple of days now :(

I am using Phaser 3, and I think that my memory leak is related to Zombies that I generate quite a lot during waves of enemies.


Here is the game if you wanna take the time to help me out: https://strayeddy.github.io/

Link to comment
Share on other sites

1 hour ago, tips4design said:

Take a heap snapshot at the start, take a heap snapshot after some time (after some memory leaked) and compare the snapshots, see what objects are actually leaked.

I did. I did not come here without trying to find the memory leak on my own for at least 8 hours, trust me.

Link to comment
Share on other sites

 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...