Tour Preview

Find the Best Demos and Examples

Check out this quick tour to find the best demos and examples for you, and to see how the Felgo SDK can help you to develop your next app or game!

Forums

OverviewFelgo 2 Support (Qt 5) › Memory leak with TexturePackerSprite

Viewing 1 post (of 1 total)
  • Author
    Posts
  • #22887

    Alexey

    Hello there!
    I’m use┬áTexturePackerSprite with TexturePackerSpriteSequence for handle my animations. My spritesheet size is about 6000x7000px and it is different on each game level. So I need load new TexturePackerSpriteSequence with TexturePackerSprite on each level via Loader.

    The problem: after unload TexturePackerSpriteSequence/TexturePackerSprite via Loader, memory is not released (at least on iOS), so application crashed because of memory limit after 3 level passed. How can I workaround this? Is there any chance to release memory by call some function?

    Already have tried:
    gc()
    collectGarbage()
    trimComponentCache()
    clearComponentCache()

    but with no success. Please advice some workaround.

    Regards,
    Alexey

Viewing 1 post (of 1 total)

RSS feed for this thread

You must be logged in to reply to this topic.