Free cookie consent management tool by TermsFeed Policy Generator

Opened 14 years ago

Last modified 14 years ago

#1268 closed defect

A severe memory leak exists when executing an algorithm multiple times — at Version 1

Reported by: svonolfe Owned by: swagner
Priority: highest Milestone: HeuristicLab 3.3.2
Component: General Version: 3.3.2
Keywords: Cc: abeham, mkommend

Description (last modified by svonolfe)

When executing an algorithm multiple times, the memory consumption skyrockets. To illustrate this phenomena, try the attached test project which executes the GA_VRP algorithm multiple times (using 10 iterations).

I was able to trace back the problem to the Run::Initialize method using the CLR profiler and created a patch for that method. The test project contains the patched dll.

Please note if you enable algorithm.StoreAlgorithmInEachRun you can see the memory leak. After applying the patch, if you disable algorithm.StoreAlgorithmInEachRun the memory leak seems to disappear, or at least becomes less severe.

The problem seems to be related to the recent cloning refactoring.

Change History (3)

Changed 14 years ago by svonolfe

Changed 14 years ago by svonolfe

comment:1 Changed 14 years ago by svonolfe

  • Description modified (diff)
Note: See TracTickets for help on using tickets.