Avoid session size overflow