that is, could a malloc() asking for 5 mb in the C part fail due to:
The answer to the the first bullet is "no" - Xmx refers to the Java heap and any native allocations are completely separate.
The answer to the second bullet is "yes" - native allocations are subject to the general process allocation restrictions inherent in the O/S and/or hardware.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With