Bill Allombert on Sun, 25 May 2008 23:45:08 +0200

[Date Prev] [Date Next] [Thread Prev] [Thread Next] [Date Index] [Thread Index]

Re: Erreur de segmentation ???

On Sun, May 25, 2008 at 06:17:38PM +0200, Olivier Ramare wrote:
> Dear all,
>  I join a script than I want to run with gp. The output is, after some time
> (around an hour, I think) :
> -------------------------------------------------------------------------
> /bin/bash: line 1:  3973 Erreur de segmentation  env TERM=emacs 
> PAGER=cat LINES=1000 COLUMNS=118 /usr/bin/gp -s 100000000 -p 10000000 -emacs
> -------------------------------------------------------------------------
> When I use  /usr/bin/gp directly, the same segfault appears, at
> the same point. In two days I'll be able to run it on a different machine.

Experience suggests that GP ran out of memory. I let it run on a 
amd46 box with 16GP of RAM and after 4 hours it was still running, but:

29962 ballombe  25   0 10.0g 9.9g 1740 R 99.9 67.4 267:57.28 gp.dbg

It was using 10Gb of RAM.

On a 32bit system, it would exhaust the virtual address space.

Now of course, the question is whether this is a memory leak in GP,
or you are allocating too much memory.