memonsize fix