-
Notifications
You must be signed in to change notification settings - Fork 223
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory limit #303
Comments
Memory limit - there's no function in the python-shell library to set this https://nodejs.org/api/timers.html#settimeoutcallback-delay-args There's multiple ways of limiting a process memory and CPU usage. One way is with containers. That's what repl.it does:
|
by containers i mean docker containers |
Thanks |
@Almenon how to use setTimeout if PythonShell returns a promise |
The Question:
Are there any ways to set memory or time limit to prevent using infinite loops? I'm making and online compiler
The text was updated successfully, but these errors were encountered: