Re: Program killed as soon as it starts to run



On Wed, Apr 30, 2008 at 8:56 PM, Reid Rivenburgh <reidr@xxxxxxxxx> wrote:
> Dumb question - does this program require a lot of memory? Could the system
> run out of resources when you start the program so the system needs to kill
> it off in order to have enough resources to keep running?

I was kind of curious about that myself, so I re-ran it with no spec
file. Here's its ps output:

PID USER PRI NI VIRT RES SHR S CPU% MEM% TIME+ Command
9704 reid 20 0 1724M 892 704 S 0.0 0.0 0:00.00 ./algencan

That 1724M looks a little scary. (I have 4 GB here.)

I don't speak fortran too well, but the code does seem to allocate
some decently hefty amounts of memory, such as this:

double precision nl(nmax),c(mmax),rho(mmax)

where mmax is 500000. There must be others, too. Maybe you don't
want to run this thing on your low memory machine...!

Thanks a lot! The mystery is solved: the program needs a lot of memory!

Paul

--
fedora-list mailing list
fedora-list@xxxxxxxxxx
To unsubscribe: https://www.redhat.com/mailman/listinfo/fedora-list



Relevant Pages

  • Re: is killing zombies possible w/o a reboot?
    ... >> I'd tried to kill the zombie earlier but couldn't. ... window, but never did anything to it. ... because it keeps track of all resources in tables in the kernel ... reclaims all its memory to the system free memory ...
    (Linux-Kernel)
  • Re: REGION=0M and LSQA
    ... At the time, memory was very expensive, and we ... remaining storage and always issued a return code zero. ... programs actually worked in production, ... all of the resources used by the job up until that point ...
    (bit.listserv.ibm-main)
  • Re: A realistic price comparison
    ... > Spreading Apple FUD is just as bad as spreading Microsoft FUD. ... > However, I assure you, I had more than enough resources on my XP ... > instilled in them by having limited memory and disk space early on. ...
    (comp.sys.mac.advocacy)
  • Re: Alternatives to C: ObjectPascal, Eiffel, Ada or Modula-3?
    ... pretty much have memory bugs, ... having to do manual cleanups for 100% of your resources or for only 1%? ... This is a slight problem in languages like Java that have GC but no flow-control abstraction. ... Languages like Lisp and Smalltalk are another story: it's easy to have a with-open flow control construct that runs some subordinate code and then cleans up, and to have this be the standard way to use such things. ...
    (comp.programming)
  • Re: Fork bombing a Linux machine as a non-root user
    ... It is past time for the linux enthusiats touting linux as more ... systems limited resources (CPU time, physical memory, and so on). ...
    (Fedora)