On 09/11/10 11:02, Blinker| David Hofstee wrote: > Hi, > > > > When I try to use csplit via stdout from zcat I get the message 'csplit: > memory exhausted'. The .gz file is a mysql dump from its databases (one > is particularly large):
Yes csplit currently doesn't use a fixed size buffer. We need to fix that up. $ (ulimit -v 100000; yes | ~/git/coreutils/src/csplit - /n/) /home/padraig/git/coreutils/src/csplit: memory exhausted 23284170 cheers, Pádraig.