Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

test: specialize OOM check for AIX #28857

Closed
wants to merge 1 commit into from

Commits on Jul 25, 2019

  1. test: specialize OOM check for AIX

    Assumption that if memory can be malloc()ed it can be used is not true
    on AIX. Later access of the allocated pages can trigger SIGKILL if there
    are insufficient VM pages.
    
    Use psdanger() to better estimate available memory.
    
    Fixes: nodejs/build#1849
    
    More info:
    - https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/generalprogramming/sys_mem_alloc.html
    - https://www.ibm.com/support/knowledgecenter/en/ssw_aix_71/p_bostechref/psdanger.html
    
    Related to:
    - nodejs/build#1820 (comment)
    - nodejs#28469
    - nodejs#28516
    sam-github committed Jul 25, 2019
    Configuration menu
    Copy the full SHA
    a187f04 View commit details
    Browse the repository at this point in the history