In DrRacket
I can set a memory limit using the GUI. However, I find the editor not sooo good and want to use another editor of my choice. But how do I specify the memory limit then?
I can think of two possibilities, but couldn't find anything about either of these:
- at the beginning of the code call some function to set the memory limit
- when invoking
racket
(not DrRacket GUI tool, but the REPL on command line) give it some arguments to specify the limit