[shell-discuss] sort runs out of memory

2009-10-29 Thread henk van der wal
I had the same message when trying to sort a file which contained a line with an invalid unicode character. My personal settings contained LC_COLLATE=en_US.UTF-8 (set|grep LC) When I either removed the invalid line or unset LC_COLLATE, the error was gone. I consider this a bug in sort (My system

[shell-discuss] sort runs out of memory

2008-08-25 Thread Uwe Dippel
[i]Did you try adding -S?[/i] Yes: # find . | sort -S 100 | wc -l sort: insufficient memory; use -S option to increase allocation 0 -- This message posted from opensolaris.org

[shell-discuss] sort runs out of memory

2008-08-25 Thread Dennis Clarke
> Noticed this using gupdatedb from Blastwave. [Yes, I filed it there, but > no answer] no .. we got it. > # gupdatedb > sort: insufficient memory; use -S option to increase allocation > Broken Pipe I ran into this myself a few days ago. > Played a bit with it, but didn't go away. Searched Goo

[shell-discuss] sort runs out of memory

2008-08-25 Thread Dan Mick
Uwe Dippel wrote: > # find . | wc -l > 372245 > # find . | sort | wc -l > sort: insufficient memory; use -S option to increase allocation > What can I do? Did you try adding -S?

[shell-discuss] sort runs out of memory

2008-08-25 Thread Uwe Dippel
Noticed this using gupdatedb from Blastwave. [Yes, I filed it there, but no answer] # gupdatedb sort: insufficient memory; use -S option to increase allocation Broken Pipe Played a bit with it, but didn't go away. Searched Google, and this was something way back in Solaris 10. But nothing actua