Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

killed by oomkiller on large location-history #2

Open
khimaros opened this issue Dec 17, 2020 · 2 comments
Open

killed by oomkiller on large location-history #2

khimaros opened this issue Dec 17, 2020 · 2 comments
Labels
bug Something isn't working

Comments

@khimaros
Copy link

khimaros commented Dec 17, 2020

memory seems to grow unbounded and is oom-killed after about 20GB memory usage.

this is happening while loading a ~1GB uncompressed location history.

@simonw simonw added the bug Something isn't working label Dec 17, 2020
@simonw
Copy link
Collaborator

simonw commented Dec 17, 2020

The memory profiler tricks I used in dogsheep/healthkit-to-sqlite#7 could help figure out what's going on here.

@khimaros
Copy link
Author

khimaros commented Dec 17, 2020

it looks like almost all of the memory consumption is coming from json.load().

another direction here may be to use the new "Semantic Location History" data which is already broken down by year and month.

it also provides much more interesting data, such as estimated address, form of travel, etc.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants