Skip to content

Memory leak #610

Description

@zihlmann

There is still one or more memory leaks that are not so apparent when analyzing only one file.
however if one analyzes many files at once one observes the resident memory to increase with
time. As an example running over many files (>20) doing full tracking then one observes the
resident memory increasing reaching more than 17GB after about 20 files analyzed.
I should mention that this was seen while running on ifarm1402 (centos7)

some additional info running hd_root on ifarm1401 with no plugins with the following command:

hd_ana --nthreads=6 -PTHREAD_TIMEOUT=100 -PJANA:MAX_RELAUNCH_THREADS=10 /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_000.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_001.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_002.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_003.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_004.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_005.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_006.evio /cache/halld/RunPeriod-2016-02/rawdata/Run010781/hd_rawdata_010781_007.evio

after the start and the first file open the resident memory is 170mb
after opening of second file RES is 2.1Gb
after opening of third file RES is 3.7Gb , halfway during this file 4.5Gb
after opening of fourth file RES is 5.5Gb
after opening of fifth file RES is 7.5Gb
after opening of sixth file RES is 8.9Gb

No activity

Activity on this issue will appear here.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    Priority

    None yet

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions