Skip to content
Back to formatted view

Raw Message

Message-ID: <CAHmzXO7zgZMtrPkw-kgx835D6RG1Xnrx4q=hBQ2Q8d2+cNc8-A@mail.gmail.com>
Date: 2012-11-20T18:14:32Z
From: Gang Chen
Subject: Puzzling "Execution halted"
In-Reply-To: <1353434588.21633.8.camel@milan>

Thanks for the pointer!

Unfortunately it doesn't look like a memory issue: /var/log/messages
contains nothing about memory problems. And the Linux system has
enough RAM for this computation.

Gang

On Tue, Nov 20, 2012 at 1:03 PM, Milan Bouchet-Valat <nalimilan at club.fr> wrote:
> Le mardi 20 novembre 2012 ? 12:54 -0500, Gang Chen a ?crit :
>> I wrote an R program that does heavy computations with hundreds of
>> lines of code. It's running fine both interactively and in batch mode
>> on a Mac OS X computer. The program also has no problem running on a
>> Linux system (Fedora 14) interactively. However, when I try it on the
>> terminal in batch mode on the Linux system, it chokes in the middle of
>> the computation with the "Execution halted" error message.
>>
>> I already put try or tryCatch in those places where computation may
>> throw an error. And the warnings are set in default (options(warn=1)).
>> I wish I could provide the code for help, but that seems impractical.
>> How to debug this?
> Have a look at your /var/log/messages: it might well be the
> out-of-memory killer killing your R process because it eats too much
> RAM...
>
> My two cents