I tried to use r.terraflow. But although I picked a small region, it
consumed a big space in
hard disk.
What might the solution be ?
Yes, it will do that, usually in /var/tmp, check that no STREAM files
have been left behind there. (needs a trap + cleanup() fn?)
See the help page; the "solution" is to increase the mem= option. The
default is 300mb but you can probably make that = total RAM in your
system - 200, or so.
Increasing the mem= option can be useful to prevent large files (>2gb),
it should tell you how much it is planning on using when it begins. Also
should be slightly faster (as long as you don't go into swap space).