ik_alloc extends the heap (by 128KB) and the heap size remains set to that value (causing more frequent GCs than usual). Now, after ik_collect, if the heapsize is less than 4MB, it's extended to 4MB (minimum).