Prevent VQEC from running out of memory