Fix: only try to allocate 10% of max heap, not 40%.