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

Incremental seeding possible (split large csv into smaller ones)? #94

Open
jpwynn opened this issue Mar 1, 2017 · 0 comments
Open

Incremental seeding possible (split large csv into smaller ones)? #94

jpwynn opened this issue Mar 1, 2017 · 0 comments

Comments

@jpwynn
Copy link

jpwynn commented Mar 1, 2017

As another issue mentioned, the memory footprint is pretty ginormous.

A 80K row csv that is 16MB in size (zipcodes) gives an out of memory error on Heroku (512MB) when attempting to run rake db:seed

The ability to either (a) not load the whole shebang into memory at once, or (b) chunk the seed data into multiple files and seed them one at time would be handy.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant