[GRASS-user] Question concerning r.to.vect and out of memory error

Rainer M. Krug Rainer at krugs.de
Wed Apr 25 09:32:25 EDT 2007


Hi

my system: SuSE 10.2, Dual core processor, 1GP physical memory, 16GB 
swap (one swap partition of 1GB and one swap file of 15GB)

I have a huge DEM from which I calculated the slopes and categorised 
them in 10% classes. Now I want to use r.to.vect to convert them into a 
vector layer of type area. My problem is that I get an out of memory 
error, even though there is enough memory available. It seems that GRASS 
6.2.1 only uses the swap partition and not the swap file (which would be 
really strange).

by using "free -m" , I got the following memory information (in 
megabytes) when r.to.vect quit with an out of memory error:

              total       used       free     shared    buffers     cached
Mem:          1011        998         12          0          1        103
-/+ buffers/cache:        894        117
Swap:        17299       1043      16255

Any ideas on how I can avoid this?


By the way: before I started grass, I created the swapfile with

dd ...
mkswap ...
swapon ...

Any help welcome,

Rainer

-- 
NEW EMAIL ADDRESS AND ADDRESS:

Rainer.Krug at uct.ac.za

RKrug at sun.ac.za WILL BE DISCONTINUED END OF MARCH

Rainer M. Krug, Dipl. Phys. (Germany), MSc Conservation
Biology (UCT)

Leslie Hill Institute for Plant Conservation
University of Cape Town
Rondebosch 7701
South Africa

Fax:		+27 - (0)86 516 2782
Fax:		+27 - (0)21 650 2440 (w)
Cell:		+27 - (0)83 9479 042

Skype:		RMkrug

email:	Rainer.Krug at uct.ac.za
       	Rainer at krugs.de




More information about the grass-user mailing list