svf: flush the queue before reallocing memory