Learn what Felgo offers to help your business succeed. Start your free evaluation today! Felgo for Your Business

Forums

OverviewFelgo 3 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.

Qt_Technology_Partner_RGB_475 Qt_Service_Partner_RGB_475_padded