Project

General

Profile

Bug #1350

Memory leak, probably in solenoids

Added by Rogers, Chris over 10 years ago. Updated over 10 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Fields
Target version:
Start date:
04 October 2013
Due date:
% Done:

100%

Estimated time:
Workflow:
New Issue

Description

When I rebuild the geometry there is some sneaky memory leak. The geometry I am using just has solenoid fields in it, so I suspect the memory leak is coming from solenoids. It leaks a few 10s of MB per rebuild (I have 2 coils each repeated about 10 times)


Files

valgrind.log (7.08 MB) valgrind.log Rogers, Chris, 04 October 2013 10:07
#1

Updated by Rogers, Chris over 10 years ago

Valgrind log attached. A lot of grot coming from Geant4, but also some grot coming from MagFieldMap. I think the Geant4 leaks won't fix. The only way to work around them is to make an option to only rebuild field maps (I played with this but abandoned it, maybe I should think again).

Let's fix MagFieldMap and then see how we go...

#2

Updated by Rogers, Chris over 10 years ago

This is in test now

#3

Updated by Rogers, Chris over 10 years ago

Tests have passed, I will merge once we have taken the snapshot for next release (probably not helpful in control room patch release)

#4

Updated by Rogers, Chris over 10 years ago

  • Status changed from Open to Closed
  • % Done changed from 0 to 100

Fixed in r998

#5

Updated by Rajaram, Durga over 10 years ago

  • Target version changed from Future MAUS release to MAUS-v0.7.3

Also available in: Atom PDF