From mboxrd@z Thu Jan 1 00:00:00 1970 From: Anoop GR Subject: How to set time limit and memory limit for execution of source blocks Date: Tue, 4 Feb 2020 12:10:16 +0530 Message-ID: Mime-Version: 1.0 Content-Type: multipart/alternative; boundary="000000000000b31629059dba505f" Return-path: Received: from eggs.gnu.org ([2001:470:142:3::10]:34177) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1iyrst-0003un-P3 for emacs-orgmode@gnu.org; Tue, 04 Feb 2020 01:40:32 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1iyrss-0003A4-53 for emacs-orgmode@gnu.org; Tue, 04 Feb 2020 01:40:31 -0500 Received: from mail-oi1-x234.google.com ([2607:f8b0:4864:20::234]:34310) by eggs.gnu.org with esmtps (TLS1.0:RSA_AES_128_CBC_SHA1:16) (Exim 4.71) (envelope-from ) id 1iyrsr-00036v-VA for emacs-orgmode@gnu.org; Tue, 04 Feb 2020 01:40:30 -0500 Received: by mail-oi1-x234.google.com with SMTP id l136so17415435oig.1 for ; Mon, 03 Feb 2020 22:40:28 -0800 (PST) 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: emacs-orgmode@gnu.org --000000000000b31629059dba505f Content-Type: text/plain; charset="UTF-8" Dear Emacs hackers, Like all of you, I think orgmode is the best way to organise study notes. I am solving competitive programming questions from Topcoder.com There are strict guidelines on memory limit of 256MB and time limit of 2sec for solutions 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. Long live Emacs, Anoop --000000000000b31629059dba505f Content-Type: text/html; charset="UTF-8" Content-Transfer-Encoding: quoted-printable
Dear Emacs hackers,

Like all of you, I = think orgmode is the best way to organise study notes.

=
I am solving competitive programming questions from Topcoder.com
=
There are strict guidelines on memory limit of 256MB and time limit of= 2sec for solutions

How do I enforce the same on m= y orgmode source blocks.
I want the execution to stop whenever=C2= =A0it exceeds the above limits on memory and time.

Long live Emacs,
Anoop
--000000000000b31629059dba505f--