[GRASS-user] Question on memory allocation and use

Rich Shepard rshepard at appl-ecosys.com
Sat Oct 1 05:47:12 PDT 2016


On Sat, 1 Oct 2016, Glynn Clements wrote:

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

Glynn,

   No need to run file; this host is running a 32-bit CPU; the replacement
machine is 64-bit.

> 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.

   Thanks, I forgot about this since most of what I do does not require large
amounts of memory.

   With the build configured with openmp will some grass modules use multiple
processors on both 32- and 64-bit hosts?

Regards,

Rich


More information about the grass-user mailing list