help-gsl
[Top][All Lists]
Advanced

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

Re: [Help-gsl] Out of Memory: Killed process


From: Joakim Hove
Subject: Re: [Help-gsl] Out of Memory: Killed process
Date: Mon, 17 Jan 2005 11:25:19 +0100
User-agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.2 (gnu/linux)

Pau Cervera Badia <address@hidden> writes:

> first of all: thank you for your great work.
> I am trying to solve a system of differential equations with
> gsl_odeiv. My system has a vector of coordinates of 400 doubles. When
> I run the program I get a KILLSIG signal. Output of dmesg is the
> following
>
> Out of Memory: Killed process PID

Well, this does *not* come from the gsl library, instead your program
is killed by the operating system.

> Do you think 400 doubles is too large? 

No - 400 doubles = 400 x 8 byte = 3200 byte , i.e. ~nothing in a modern
computer. So, most probably there is a bug/bad design in your program
leading to the desire for large (way more than 3.2 Kb) amounts of
memory, and the eventual KILLSIG. 

If you post a short version of the code, maybe you can get some input.

HTHT - Joakim

-- 
Joakim Hove
hove AT ift uib no
Tlf: +47 (55 5)8 27 90 
Fax: +47 (55 5)8 94 40
http://www.ift.uib.no/~hove/





reply via email to

[Prev in Thread] Current Thread [Next in Thread]