From: Anoop GR <anoopemacs@gmail.com>
To: emacs-orgmode@gnu.org
Subject: How to set time limit and memory limit for execution of source blocks
Date: Tue, 4 Feb 2020 12:10:16 +0530 [thread overview]
Message-ID: <CACabEsRh2SytfdaqP68A5mvcpm8DPMaNJHL_X==p9uFq9ZAgZg@mail.gmail.com> (raw)
[-- Attachment #1: Type: text/plain, Size: 417 bytes --]
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
[-- Attachment #2: Type: text/html, Size: 632 bytes --]
next reply other threads:[~2020-02-04 6:40 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2020-02-04 6:40 Anoop GR [this message]
2020-02-04 7:23 ` How to set time limit and memory limit for execution of source blocks Tim Cross
2020-02-05 5:16 ` stardiviner
2020-02-09 14:54 ` Ken Mankoff
2020-02-10 7:15 ` Anoop GR
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
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CACabEsRh2SytfdaqP68A5mvcpm8DPMaNJHL_X==p9uFq9ZAgZg@mail.gmail.com' \
--to=anoopemacs@gmail.com \
--cc=emacs-orgmode@gnu.org \
/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 external index
https://git.savannah.gnu.org/cgit/emacs.git
https://git.savannah.gnu.org/cgit/emacs/org-mode.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.