[GRASS-dev] [GRASS-user] importing big vector data

Martin Landa landa.martin at gmail.com
Thu Mar 6 10:43:46 PST 2014


Hi all,

2014-03-04 17:13 GMT+01:00 Martin Landa <landa.martin at gmail.com>:

[...]

> it fails when trying to allocate about 2GB,
>
> D0/0: 2047 -> 2047000000
> D0/0: 2048 -> 2048000000
> Current region rows: 3, cols: 7
> ERROR: G_realloc: unable to allocate 2048000000 bytes of memory at main.c:101
>
> There is memory available and no limits per process:
>
> $ free -m
>              total       used       free     shared    buffers     cached
> Mem:         48395       4587      43808          0       3272        361
> -/+ buffers/cache:        953      47441
> Swap:        47682          0      47682
>
> Trying to investigate more. In any case thanks for testing... Martin

ok, I checked the server again and the mystery is solved. Originally I
checked only

$ uname -m
x86_64

but I missed `dpkg` platform which is strangely 32bit

$ dpkg-architecture
DEB_BUILD_ARCH=i386
DEB_BUILD_ARCH_BITS=32

So all binaries are 32bit including self-compiled GRASS. Sorry for
noise! I was using 32bit binaries...

Thanks for all the comments, Martin

-- 
Martin Landa * http://geo.fsv.cvut.cz/gwiki/Landa


More information about the grass-dev mailing list