cgmemtime
cgmemtime copied to clipboard
[Feature] Set memory and time limits
What do you think about adding extra options to be able to set memory and time limits for a given program?
It is not hard to add echo(memory_limit, "/memory.limit_in_bytes")
and timer_settime()
, but I would like to know whether it is ok to do it in cgmemtime project.
Any input is valuable. Thank you for this great project!
I think such options are a good idea and they would fit well into cgmemtime.
Feel free to create a pull request.
@gsauthof Ok, I will make some refactorings and create a pull request.