nogc/0

nogc*

The goal nogc disables garbage collection. The same as current_prolog_flag(gc,false).