Skip to content

Commit 5dce0f4

Browse files
committed
fix: adjust avg. session RAM usage
1 parent 5d90861 commit 5dce0f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/aind_ephys_portal/panel/logging.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -150,7 +150,7 @@ def get_max_number_of_gui_sessions():
150150
print(f"Using MAX_GUI_SESSIONS_PER_TASK from environment: {os.environ['MAX_GUI_SESSIONS_PER_TASK']}")
151151
MAX_SESSIONS_PER_WORKER = int(os.environ["MAX_GUI_SESSIONS_PER_TASK"])
152152
else:
153-
SESSION_AVG_RAM_USAGE_GB = 2
153+
SESSION_AVG_RAM_USAGE_GB = 6
154154
TOTAL_RAM_GB = get_container_total_memory() / (1024**3)
155155
MAX_SESSIONS_PER_WORKER = int(np.floor(TOTAL_RAM_GB / SESSION_AVG_RAM_USAGE_GB))
156156

0 commit comments

Comments
 (0)