On this page

    M

    process.availableMemory

    History
    process.availableMemory(): number
    Returns:number

    Gets the amount of free memory that is still available to the process (in bytes).

    See uv_get_available_memory for more information.