Open kmadsen opened 4 years ago
Here's a smaller more manageable sensor data file. windy road, would be good to test the gravity vector for these cases. device is always mounted on a motorcycle
Wondering if there is a simple way to convert json into a database so the events can parsed off disk, instead of in memory: https://medium.com/androiddevelopers/packing-the-room-pre-populate-your-database-with-this-one-method-333ae190e680
Mapbox Navigation SDK version: 1.0.0
Steps to trigger behavior
Actual behavior
💥 It will run out of memory
Expected behavior
The large files are loaded as a JSON string. When doing this it creates a copy in memory and causes an
OutOfMemoryError
Approaches
From these approaches, uploading history files in chunks seems like the quickest solution.
cc: @mskurydin @Guardiola31337 @a-kosak-mbx