[GRASS-user] Question on memory allocation and use

Glynn Clements glynn at gclements.plus.com
Sat Oct 1 00:34:55 PDT 2016


Rich Shepard wrote:

>    I assumed that grass did not see the available memory, but did not realize
> it would not use the available swap memory.

Is GRASS built for 32-bit (x86) or 64-bit (x86-64 aka amd64)? Running
"file" on e.g. r.contour will tell you.

A 32-bit process can't use more than 4 GiB of memory regardless of how
much RAM or swap is available. The amount available to malloc() etc
will be somewhat lower due to reservations for the kernel, stack, etc.

-- 
Glynn Clements <glynn at gclements.plus.com>


More information about the grass-user mailing list