cgmemtime icon indicating copy to clipboard operation
cgmemtime copied to clipboard

[Feature] Set memory and time limits

Open frol opened this issue 9 years ago • 2 comments

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!

frol avatar Apr 01 '15 13:04 frol

I think such options are a good idea and they would fit well into cgmemtime.

Feel free to create a pull request.

gsauthof avatar Jun 17 '15 19:06 gsauthof

@gsauthof Ok, I will make some refactorings and create a pull request.

frol avatar Jun 17 '15 19:06 frol