Site icon EfmSoft

What does macOS kernel return 3 (KERN_NO_SPACE) mean?

 
Could be also:
ConstantTypeOS
ERROR_PATH_NOT_FOUNDWin32 errorWindows
STATUS_WAIT_3NTSTATUSWindows
ippStsSqrtNegArgIntel Ipp StatusAny
ESRCHerrnoAny
INVALID_AFFINITY_SETBugCheck CodeWindows
Previous Next
KERN_PROTECTION_FAILURE KERN_INVALID_ARGUMENT

KERN_NO_SPACE

KERN_NO_SPACE is a Mach virtual-address-space allocation result. XNU defines it for a range that is already occupied, or for a request whose required contiguous range cannot be found. It does not automatically mean that physical RAM is exhausted.

That distinction is useful when a call uses a fixed address, requests a large contiguous virtual range, or runs in a task whose address map is fragmented. Virtual space, physical memory, and backing-store pressure are related but separate concerns. A process may have available memory while the requested address placement is still impossible.

What to check

For a true inability to obtain a kernel resource, XNU uses the distinct result KERN_RESOURCE_SHORTAGE. Keeping those two cases separate makes logs much more actionable.

References


Looking for a different code? Search another status or error code.

Exit mobile version