[greenstone-users] Out of Memory error in buildcol.pl

From Arthur R. Belanger
DateFri Feb 29 03:19:35 2008
Subject [greenstone-users] Out of Memory error in buildcol.pl
In-Reply-To (20080228065033-GA5817-localhost-localdomain)
Thanks for the response. The limits were already set as you suggested. Here is
the complete output of ulimit -a:

core file size (blocks, -c) 0
data seg size (kbytes, -d) unlimited
file size (blocks, -f) unlimited
pending signals (-i) 1024
max locked memory (kbytes, -l) 32
max memory size (kbytes, -m) unlimited
open files (-n) 1024
pipe size (512 bytes, -p) 8
POSIX message queues (bytes, -q) 819200
stack size (kbytes, -s) 10240
cpu time (seconds, -t) unlimited
max user processes (-u) 81919
virtual memory (kbytes, -v) unlimited
file locks (-x) unlimited

It didn't use all the VM. I'm truly puzzled.

John McPherson wrote:
> On Wed, Feb 27, 2008 at 08:52:36AM -0500, Arthur R. Belanger wrote:
>> I had seen this with a larger set, 286,000, which is why I reduced the
>> number and started building it up. I am running GS 2.75 on Red Hat Linux
>> AS4. I had originally had just 1 GB of RAM and 2 GB of swap space. I
>> increased the swap space to 6 GB and got the same error. I added another 4
>> GB of RAM and still get the error.
> Hi,
> was it actually using all that virtual memory? I think you'd notice
> if you were using 6GB of swap... you'd hardly be able to use the machine
> :)
> Perhaps there is something else limiting the memory, such as 'ulimit'.
> Try typing 'ulimit -a' to see if you have a system quota set for your
> processes. Eg:
> $ ulimit -a
> [...]
> -d: data seg size (kbytes) unlimited
> [...]
> -m: resident set size (kbytes) unlimited
> [...]
> -v: address space (kb) unlimited
> John

Arthur Belanger
Medical Library System Manager
ITS Academic Media & Technology
Yale University
PO Box 208065
New Haven, CT 06520-8065

(203) 785-6928
(203) 737-2859, fax