jcmwave.
set_memory_limit
Limits maximum job size. Too large jobs are aborted.
maximum RAM usage (in MB).
(To reset the memory limit, call this method with empty argument)