Project

General

Profile

Actions

Bug #8541

closed

[NodeManager] Use sys.exc_clear() to release exception tracebacks

Added by Peter Amstutz about 9 years ago. Updated over 3 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
-
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

According to the discussion at http://cosmicpercolator.com/2016/01/13/exception-leaks-in-python-2-and-3/ exceptions can keep stack frames live far past when they are no longer needed, which may be the cause of our memory leaks.

Audit exception handling in node manager and use sys.exc_clear() discard exception tracebacks where possible.


Related issues 1 (0 open1 closed)

Related to Arvados - Story #8543: [NodeManager] Don't use Futures when not expecting a replyResolvedPeter Amstutz03/04/2016

Actions
Actions

Also available in: Atom PDF