You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@samuelOsborne In the core dotlottie-rs player, we're currently storing both the dotLottie file buffer and the deflated Lottie JSONs in memory, which leads to double the memory consumption. a possible solution would be to check if the dotLottie file contains only a single animation. If so, we can extract and keep that single animation in memory, allowing us to remove the dotLottie file from local memory.
Description of the issue
The
.lottie
file has a smaller file size, but it uses significantly more memory in a UIKit environment compared to the.json
file.not used
.lottie
.json
Summary
It seems to be about a 10-fold difference.
Sample Code
Linked issues
The text was updated successfully, but these errors were encountered: