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

On low memory machines cannot load dumped database #455

Open
nwinklareth opened this issue Nov 28, 2014 · 0 comments
Open

On low memory machines cannot load dumped database #455

nwinklareth opened this issue Nov 28, 2014 · 0 comments
Labels

Comments

@nwinklareth
Copy link
Contributor

The loaddata command loads the entire JSON file into memory before writing out its contents to the database. Low memory machines cannot process this even though if the json was streamed in they could.

There is a streaming json module for Python iJson which I will try.

nwinklareth added a commit to nwinklareth/cookcountyjail that referenced this issue Nov 30, 2014
…sis of ids.

Also uses the two pass model approach.
nwinklareth added a commit to nwinklareth/cookcountyjail that referenced this issue Nov 30, 2014
nwinklareth added a commit to nwinklareth/cookcountyjail that referenced this issue Nov 30, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant