[GRASS-user] r.watershed crashing grass.

Markus Metz markus.metz.giswork at googlemail.com
Sat Jul 25 10:35:26 EDT 2009

Hamish wrote:
>> Hamish said this is a generic memory problem on MS windows
>> (vista).
> eh? my point was mearly that there are some existing memory bugs
> which haven't been fixed yet as they only present themselves when
> run under MS Windows, and we are just starting to discover those
> as more people try native WinGrass.
> I've got no idea if this problem belongs to that class or not,
> nor if XP vs. Vista makes any difference to GRASS. Just that
> Valgrind is a nice tool for helping to deal to bugs stemming
> from memory code mistakes, or clearing that as a suspected
> cause.
"Hamish suggested that this may be a generic problem on MS windows 
(vista)" might have been better phrasing. Sorry for misinterpreting your 

In this particular case, it may be a problem of a 32bit application 
running on a 64bit system with more than 3GB RAM, causing rather ugly 
out-of-memory errors because the 32bit application requesting more 
memory can't handle the memory returned by the OS. Just a wild guess, 
maybe a windows developer can say more about it.


More information about the grass-user mailing list