type of memheap_size return value changed