Skip to content

Instantly share code, notes, and snippets.

@greghendershott
Created June 9, 2017 20:10
Show Gist options
  • Save greghendershott/62e44c6ac99b6e1de0b17905a40e592f to your computer and use it in GitHub Desktop.
Save greghendershott/62e44c6ac99b6e1de0b17905a40e592f to your computer and use it in GitHub Desktop.
modified index.rkt
@@ -12,12 +12,14 @@
(for-label racket/syntax))
@(define evaluator
(parameterize ([sandbox-output 'string]
- [sandbox-error-output 'string])
+ [sandbox-error-output 'string]
+ [sandbox-memory-limit 100])
(make-evaluator 'racket)))
@(define typed/evaluator
(parameterize ([sandbox-output 'string]
- [sandbox-error-output 'string])
+ [sandbox-error-output 'string]
+ [sandbox-memory-limit 100])
(make-evaluator 'typed/racket)))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment