kgiusti commented on pull request #757:
URL: https://github.com/apache/qpid-dispatch/pull/757#issuecomment-641482542


   In general, malloc et. al. will fail (return null) in the case where the 
process hits RLIMIT_AS/DATA.  I believe it can also happen when running in a 
container that has a total memory limit configured.
   
   Otherwise linux will return a non-zero value even if there is _no memory 
currently available_.  When the pointer is de-referenced the process hits a 
page fault and is suspended until more memory becomes available (or it is OOM 
killed).  
   
   So if abort() occurs it is a hint to a Carbon-Based Lifeform that the 
provisioned memory is insufficient for the use case.
   
   Or there's a bug.... there's always bugs.....


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to