From mboxrd@z Thu Jan 1 00:00:00 1970 From: Ken Mankoff Subject: Re: How to set time limit and memory limit for execution of source blocks Date: Sun, 09 Feb 2020 06:54:34 -0800 Message-ID: <875zgf7qvp.fsf@gmail.com> References: Mime-Version: 1.0 Content-Type: text/plain Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:44731) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1j0nyp-0001My-7t for emacs-orgmode@gnu.org; Sun, 09 Feb 2020 09:54:40 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1j0nyn-00072k-BH for emacs-orgmode@gnu.org; Sun, 09 Feb 2020 09:54:39 -0500 Received: from mail-pg1-x533.google.com ([2607:f8b0:4864:20::533]:39625) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1j0nyn-0006zM-61 for emacs-orgmode@gnu.org; Sun, 09 Feb 2020 09:54:37 -0500 Received: by mail-pg1-x533.google.com with SMTP id j15so2469238pgm.6 for ; Sun, 09 Feb 2020 06:54:36 -0800 (PST) In-reply-to: List-Id: "General discussions about Org-mode." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: emacs-orgmode-bounces+geo-emacs-orgmode=m.gmane-mx.org@gnu.org Sender: "Emacs-orgmode" To: Anoop GR Cc: emacs-orgmode@gnu.org On 2020-02-03 at 22:40 -08, Anoop GR 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.