I am trying to limit the maximum memory used by PROMELA, by using the -DMEMLIMIT flag, like this.
./spin -a -DMEMLIMIT=1024 code.pml
But, still the memory keeps on increasing. Any idea, why is that so?
I am trying to limit the maximum memory used by PROMELA, by using the -DMEMLIMIT flag, like this.
./spin -a -DMEMLIMIT=1024 code.pml
But, still the memory keeps on increasing. Any idea, why is that so?
-DMEMLIM=N is a compiler flag passed to the gcc. It works that way:
./spin -a code.pml gcc -DMEMLIM=1024 -o pan pan.c ./pan
You can also add further flags to enforce a better compression of states, like for instance -DCOLLAPSE which is a quite fast way to reduce the amount of memory needed.