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.
Hi,
I have a question about
UDA serverconnection and memory management for long running processes. Assume the following Access Layer code that usesUDA client:With each subsequent uri that we pass, memory usage by
UDA server(notUDA client) is increasing significantly until theUDA clientprocess is finished or$UDA_TIMEOUT(default 10 mins) is reached. I guess thatimas.closedoes not release memory.So my question is - can I somehow release
UDA servermemory earlier or do you have any advice in this matter?I would appreciate your help.