Skip to content

Question about UDA server connections #107

Description

@g2knizn

Hi,

I have a question about UDA server connection and memory management for long running processes. Assume the following Access Layer code that uses UDA client:

import imas
while True:
    uri = input() # assume UDA backend
    with imas.DBEntry(uri, "r") as entry:
        summary = entry.get("summary")

With each subsequent uri that we pass, memory usage by UDA server (not UDA client) is increasing significantly until the UDA client process is finished or $UDA_TIMEOUT (default 10 mins) is reached. I guess that imas.close does not release memory.

So my question is - can I somehow release UDA server memory earlier or do you have any advice in this matter?

I would appreciate your help.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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