From: Anoop GR <anoopemacs@gmail.com>
To: Ken Mankoff <mankoff@gmail.com>
Cc: emacs-orgmode@gnu.org
Subject: Re: How to set time limit and memory limit for execution of source blocks
Date: Mon, 10 Feb 2020 12:45:21 +0530 [thread overview]
Message-ID: <CACabEsQpQ8QrNwWKRH3sW=p7DUWJdn68-6AVTCyR9hZ0S8rWzQ@mail.gmail.com> (raw)
In-Reply-To: <875zgf7qvp.fsf@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 592 bytes --]
Thanks for the tip Ken.
I will get hold of one of those packages and modify it to my needs.
On Sun, Feb 9, 2020 at 8:24 PM Ken Mankoff <mankoff@gmail.com> wrote:
> On 2020-02-03 at 22:40 -08, Anoop GR <anoopemacs@gmail.com> wrote...
> > How do I enforce the same on my orgmode source blocks. I want the
> > execution to stop whenever it exceeds the above limits on memory and
> > time.
>
> There are several packages that implement :async source blocks via the
> :async header arg. It seems like one of these could be fairly easy to adapt
> to monitor the process it spawns.
>
> -k.
>
>
[-- Attachment #2: Type: text/html, Size: 995 bytes --]
prev parent reply other threads:[~2020-02-10 7:15 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 6:40 How to set time limit and memory limit for execution of source blocks Anoop GR
2020-02-04 7:23 ` Tim Cross
2020-02-05 5:16 ` stardiviner
2020-02-09 14:54 ` Ken Mankoff
2020-02-10 7:15 ` Anoop GR [this message]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
List information: https://www.orgmode.org/
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACabEsQpQ8QrNwWKRH3sW=p7DUWJdn68-6AVTCyR9hZ0S8rWzQ@mail.gmail.com' \
--to=anoopemacs@gmail.com \
--cc=emacs-orgmode@gnu.org \
--cc=mankoff@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).