&gt; I also tried spawn_opt&#x2F;5 with reduced min_heap_size option - it doesn&#x27;t help.<p>Yeah whether using spawn_opt or VM options (-hms and -hpds) it doesn&#x27;t look possible to <i>reduce</i> the process heap (or process dict) below the initial size, only to increase it.