Jump to content

How to remove textures from memory


Recommended Posts



I have a phaser game and i'm using cocoon js to port it to android and IOS. unfortunately in IOS, since I am loading many images, it leads to a memory low warning and the app crashes. How do i delete the textures from the memory? Is there any way to clear the memory?


I have tried cache.removeImage, cache.destroy and textureImage.destroy but doesnt seem to help much.


Any help would be greatly appreciated.



Link to comment
Share on other sites


  • Recently Browsing   0 members

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