You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When I run it on the server using node, the script runs without a problem. But when I submitted it through code runner on Moodle, I get the following error:
Command failed: runghc prog.hs
ghc: failed to create OS thread: Cannot allocate memory
The server I run it is a VM running:
Ubuntu 24.04
Using latest version of Jobe (2.0.2)
32 Cores
16 GB of RAM
The text was updated successfully, but these errors were encountered:
Jobe runs tasks with limits on memory and number of processes. You've almost certainly hit the memory limit. This can be set in the question by checking the Customise box and opening the Advanced Configuration section. You'll find a field MemLimit (MB). Setting that to 0 will turn off the memory limit. If that fixes your problem, experiment to find a reasonable upper limit. Don't leave it at 0 or a memory gobbling task can bring down Jobe temporarily - the watchdog timer will kill it, but this could take a while if the machine is thrashing
I’ve successfully run the program through Code Runner after increasing the memory limit. Now, I’m trying to achieve the same result using Scratchpad, but I can’t find where to adjust the memory limit in Scratchpad. Do you have any ideas on how to do this?
Hello,
I am trying to run a Haskell program inside Jobe server, using JS. Here is my script:
When I run it on the server using node, the script runs without a problem. But when I submitted it through code runner on Moodle, I get the following error:
The server I run it is a VM running:
The text was updated successfully, but these errors were encountered: