Lottie-android: OutOfMemoryError when loading a ludicrously huge JSON animation on a Galaxy S3

Created on 2 Feb 2017  路  3Comments  路  Source: airbnb/lottie-android

JSON is 1.5 MB uncompressed, 94 KB zipped.
Lottie should probably switch from JSON to Flatbuffers. I'll open a separate issue for that.

Most helpful comment

@subtleGradient so I spent way too many hours this week migrating over the JsonReader. However, the existing json structure of bodymovin makes it incredibly inconvenient unfortunately. I'm going work with Hernan from bodymovin to figure out a good solution here.

All 3 comments

@subtleGradient Can you attach the AE file? There may be some things we can do in the meantime to reduce overhead.

@subtleGradient so I spent way too many hours this week migrating over the JsonReader. However, the existing json structure of bodymovin makes it incredibly inconvenient unfortunately. I'm going work with Hernan from bodymovin to figure out a good solution here.

@subtleGradient Only took a year but I finally got this working :)

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mateusgrb picture mateusgrb  路  5Comments

mmakmw picture mmakmw  路  4Comments

Nabeel-khalid picture Nabeel-khalid  路  4Comments

goldyonwar picture goldyonwar  路  4Comments

leleliu008 picture leleliu008  路  4Comments