[GRASS-dev] [GRASS GIS] #2036: Failed watershed analysis on Grass
GRASS GIS
trac at osgeo.org
Thu Jul 18 15:05:43 PDT 2013
#2036: Failed watershed analysis on Grass
--------------------------+-------------------------------------------------
Reporter: mehmeto | Owner: grass-dev@…
Type: defect | Status: closed
Priority: normal | Milestone: 6.4.4
Component: Raster | Version: 6.4.2
Resolution: fixed | Keywords: LFS, r.watershed
Platform: MSWindows 7 | Cpu: x86-64
--------------------------+-------------------------------------------------
Comment(by hamish):
this isn't really that large of a region, you usually hit 2 GB files at ~
45000x45000 rows x cols. this is much smaller,
{{{
rows: 7350
cols: 8166
}}}
>> ERROR: G_calloc: unable to allocate 4 * 60175190 bytes at main.c:91
(devs: should we strip the wingrass binaries in the stable release builds?
or keep the line number code there for better debugging?)
> If you calculate 4 * 60175190 bytes = 240700760 which is > 2^31.
missed a 0, actually it's 9 times smaller than 2^31. It only wants to
allocate 241mb RAM, so probably not a large-file problem. How much do
memory does your computer have?
for what it's worth, some LFS notes: In GRASS 6.4 it is enabled module by
module for those that need it. We know the list of modules which might
need it, and intend to fully audit that for 6.4.4. WinGrass is built
using the OSGeo4W stack and the MSys software, both of which are currently
32bit with 64bit versions in current development. Once we have those 64
bit build platforms in place a 64 bit version of WinGrass will be
available as it is on MacOS and Linux already.
Hamish
--
Ticket URL: <http://trac.osgeo.org/grass/ticket/2036#comment:7>
GRASS GIS <http://grass.osgeo.org>
More information about the grass-dev
mailing list