Skip to content

Getting Connection errors due to memory allocation?  #304

@KevinG1002

Description

@KevinG1002

Hi all,

I'm running into the following error when trying to establish a LibPQ connection with some db.

PostgreSQL connection (CONNECTION_BAD) with parameters:[error | LibPQ]: LibPQ.Errors.JLConnectionError("libpq could not allocate memory for connection info")

Have any of you run into this before? My client setup is:

function get_client_openshift()
    if _client === nothing || !isopen(_client)
        global _client = LibPQ.Connection("postgresql://admin:[email protected]:xxxx/dbname")
    end
    return _client
end

I'm running this on a 2020 Macbook Pro with an intel chip and on Julia version: 1.11.1
I've checked out the Activity Monitor and I'm not seeing anything out of the ordinary (~1 GB of RAM for my Julia process; plenty of storage and memory left).

Any help would be much appreciated!

Kevin

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions