set_memory_limit.py

jcmwave.set_memory_limit(max_ram=None)

Limits maximum job size. Too large jobs are aborted.

Parameters:max_ram (int) –

maximum RAM usage (in MB).

(To reset the memory limit, call this method with empty argument)