Re: exceptions in gnu c++

2006-11-06 Thread Christian Holm Christensen
Hi Paul, On Sun, 2006-11-05 at 18:34 -0700, Paul E Condon wrote: On Sun, Nov 05, 2006 at 10:51:15PM +0100, Christian Holm Christensen wrote: Hi Paul, ... On Sun, 2006-11-05 at 14:29 -0700, Paul E Condon wrote: ... I have a new version of my program and I have switched to g++-3.4 The newer

Re: exceptions in gnu c++

2006-11-06 Thread Aaron M. Ucko
Paul E Condon [EMAIL PROTECTED] writes: row: 21100 128Killed Killed almost certainly indicates that something (likely the kernel) sent your application a SIGKILL signal, which instantly terminates your application, with the message itself coming from your shell. (Running your program

Re: exceptions in gnu c++

2006-11-06 Thread Brett Viren
Paul, Run top -d 1 from another terminial before starting your program. It should show clearly the memory usage climbing if your code has a leak. Hit shift-M to sort by memory usage. If this is indeed the case I suggest that you recompile with -g and then run your program under valgrind to find

Re: exceptions in gnu c++

2006-11-06 Thread Paul E Condon
On Mon, Nov 06, 2006 at 10:56:38AM +0100, Christian Holm Christensen wrote: Hi Paul, On Sun, 2006-11-05 at 18:34 -0700, Paul E Condon wrote: On Sun, Nov 05, 2006 at 10:51:15PM +0100, Christian Holm Christensen wrote: Hi Paul, ... On Sun, 2006-11-05 at 14:29 -0700, Paul E Condon wrote:

Re: exceptions in gnu c++

2006-11-06 Thread Paul E Condon
On Mon, Nov 06, 2006 at 12:01:26PM -0500, Brett Viren wrote: Paul, Run top -d 1 from another terminial before starting your program. It should show clearly the memory usage climbing if your code has a leak. Hit shift-M to sort by memory usage. If this is indeed the case I suggest that

exceptions in gnu c++

2006-11-05 Thread Paul E Condon
I've written a simulation program in c++. It works for small problems of its class, but fails during initialization on large problems. I suspect I need more RAM, but would like confirmation, so ... I changed the main program to include a everything in a try block with a catch block, etc. But it

Re: exceptions in gnu c++

2006-11-05 Thread Christian Holm Christensen
Hi Paul, On Sun, 2006-11-05 at 14:29 -0700, Paul E Condon wrote: I've written a simulation program in c++. It works for small problems of its class, but fails during initialization on large problems. I suspect I need more RAM, but would like confirmation, so ... I changed the main program