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.

Voted #1 for:

  • Easiest to learn
  • Most time saving
  • Best support

Develop Cross-Platform Apps and Games 50% Faster!

  • Voted the best supported, most time-saving and easiest to learn cross-platform development tool
  • Based on the Qt framework, with native performance and appearance on all platforms including iOS and Android
  • Offers a variety of plugins to monetize, analyze and engage users
FREE!
create apps
create games
cross platform
native performance
3rd party services
game network
multiplayer
level editor
easiest to learn
biggest time saving
best support