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

csvsort memory limit #626

Closed
simogeo opened this issue Jun 21, 2016 · 5 comments
Closed

csvsort memory limit #626

simogeo opened this issue Jun 21, 2016 · 5 comments

Comments

@simogeo
Copy link

simogeo commented Jun 21, 2016

Hi,
I've tried to sort a 1 Gb (only) file with csvsort and -c option ... My computer ends up freezing and using all memory (12 Gb)

Is that "normal" ? is that a known issue ? I've also seen issues #581 and #338.
Is there any tip to do so. Thanks

@jpmckinney
Copy link
Member

Is it faster with --no-inference?

@simogeo
Copy link
Author

simogeo commented Jun 22, 2016

I'll try it soon ... but it looks like a memory leak more than a performance issue ...

@simogeo
Copy link
Author

simogeo commented Jun 23, 2016

same behaviour with no-inference option.

Here is the whole command line :

csvsort -d ";" --no-inference  -c DCLT ./FD_MOBPRO_2011.txt > ./FD_MOBPRO_2011-order-by-lieu-de-travail-test.txt

@onyxfish
Copy link
Collaborator

@simogeo You could try this with the 1.0.0 release, but realistically sorting a 1GB file is unlikely to ever be performant with csvkit. That's pretty far outside the intended use-case.

@simogeo
Copy link
Author

simogeo commented Dec 29, 2016

got it. Thanks

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

3 participants