Disable kernel heap (needs to be refactored).