Project

General

Profile

Bug #42

Possible memory leak in MiceModule class

Added by Karadzhov, Yordan about 11 years ago. Updated almost 10 years ago.

Status:
Closed
Priority:
Urgent
Assignee:
Category:
common_py
Target version:
Start date:
24 September 2010
Due date:
% Done:

100%

Estimated time:
Workflow:

Description

I found that the memory usage of an application which calls TofRec::Process() increases with a steady rate. I isolated the leak to the constructor of the class TofSpacePoint where the position of the point is calculated by calling the functions MiceModule::dimensions() and MiceModule::globalPosition(). If I comment the lines where these functions are called the problem disappear and the memory used by the process is stable. However the problem in MiceModule::dimensions() and MiceModule::globalPosition() is not obvious and everything there looks OK.

Also available in: Atom PDF