Jump to content

drawImage sucking up all memory in Chrome


Recommended Posts

For some inexplicable reason, my game has suddenly stopped working in Chrome. The FPS drops down to 5-10. I go back to older versions of the game that I KNOW were working and the same thing: FPS drops down to 5-10. This has happened before and magically fixes itself. Tried clearing cache - no effect. 


Try the game in IE and FF - no problems. So I know it's something specific to chrome. And I know it has nothing to do with my game code. Here's a JS profile:





I don't quite now how to read this because I'm not familiar with how the pixi render works. Is drawImage using more than it's supposed to?


Also, something else I notice as odd in the network tab. Chrome tries to load these old image URIs that likely no longer exist in the cache. Not sure if that has anything to do with it. 





This issue is driving me mad. Appreciate any help. 


Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.


  • Recently Browsing   0 members

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