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
[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
> 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
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?
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