How to make running time and memory usage two more requirements for the program to be correct in CodeRunner?

Re: How to make running time and memory usage two more requirements for the program to be correct in CodeRunner?

by Richard Lobb -
Number of replies: 0
How do you propose to deal with tasks that take really excessive time and/or memory? Are you going to let them run for 10 minutes (consuming valuable Jobe server CPU time)? And what if they demand 20 GB RAM (bringing the server to its knees)? What if the task runs some test cases in a reasonable time but demands far too much time on some others? What if the time taken on each test case is within some specified limits but the total time over all test cases is excessive?

How are you going to specify all these various time and memory constraints within a CodeRunner question?

Also, please realise that tracking memory usage by a task is very difficult and requires the use of cgroups on the Jobe server, which is not currently set up to use them. This is hard.