Donate Share

NUnit .Net unit testing framework

Tracker: Bugs

5 Runners memory leak - ID: 1965952
Last Update: Comment added ( charliepoole )

We have found that running a test suit with Nunit's own test runners
consumes a lot more memory than for example running the same tests with
Resharper. In our case the difference was about 240 MB compared to 1,2 GB
and even when running a nunit project file with multiple asseblies, the
momory was not released between assemblies.

The good news is that I have fixed the problem. Attached you will find a
patch against version 2.4.7.

It's a Fixture = null in the Run method in the TestMethod class, inside a
finally block.


Björn Carlsson ( bcn ) - 2008-05-17 12:03

5

Closed

Fixed

Charlie Poole

None

None

Public


Comments ( 2 )

Date: 2008-07-19 18:48
Sender: charliepooleProject Admin


Backported fix to the 2.4 branch.


Date: 2008-06-18 03:17
Sender: charliepooleProject Admin


Good one! It's fixed in CVS for inclusion in the 2.5 Alpha 3 release.


Attached File ( 1 )

Filename Description Download
TestMethod.patch patch on the file TestMethod.cs, version 2.4.7 Download

Changes ( 5 )

Field Old Value Date By
status_id Open 2008-06-18 03:18 charliepoole
resolution_id None 2008-06-18 03:18 charliepoole
assigned_to nobody 2008-06-18 03:18 charliepoole
close_date - 2008-06-18 03:18 charliepoole
File Added 278100: TestMethod.patch 2008-05-17 12:03 bcn