Resource limits in swish

For program http://cplint.eu/example/inference/plcg.pl in cplint on swish and query

mc_sample_arg(plc(L),20,L,O),argbar(O,C).

I get:
Not enough resources: program_space
I’m using a limit of 3Gb for data in config rlimit.pl. How do I increase program_space?

Fabrizio

This is a limit that applies to the temporary module for a swish query. It mainly prevents blowing up the system by asserting huge amounts of data. See pengines.pl It can be changed using

:- set_setting(swish:program_space, <bytes>).

The default is 100_000_000