set max object size