r.accumulate.lessmem
calculates weighted flow accumulation, stream networks, and the longest flow path using a flow direction map. It is a modified version of r.accumulate
and requires less memory. It can be slower than r.accumulate
because of heavy bit operations.