-
Notifications
You must be signed in to change notification settings - Fork 14
Description
Hi kbroulik,
at first thank you for your Lottie QML wrapper, it really works quite well.
Unfortunately, I do have issues with increasing memory demand. If I monitor the memory demand with the QML Profiler, the demand for memory is increasing each time I load a Animation JSON file.
This is a screenshot from the QML Profiler:
https://github.com/ThomasVogelpohl/lottie-qml/blob/master/screenshots/Screenshot%202019-02-06%20at%2021.17.16.png
I have tried calling the destroy() functions for the JavaScript lib, but it does not seem to make any difference.
I have forked your Repo and added a few files to be able to easily demonstrate the problem:
- Clone:
https://github.com/ThomasVogelpohl/lottie-qml/commits/master - Load the OwnLottieCompiler.pro in QT Creator.
- Compile and start the QML Profiler
The code will load and unload a Lottie Animation 10 times.
You see that the memory bars are steadily increasing.
So you have any suggestion on what to try to release the memory ?
Thanks,
Thomas