Skip to content

Commit

Permalink
ENH: fixed issue 4818 with itkMemoryProbesCollecterBaseTest
Browse files Browse the repository at this point in the history
On macOS, itkMemoryProbesCollecterBaseTest would often fail with messages like:

Freeing memory should result in less memory but it is 262216kB instead of 262164kB

Just increased the amout of memory allocated in this test to make it more likely to pass.
  • Loading branch information
seanm authored and hjmjohnson committed Jan 23, 2025
1 parent dab08e7 commit 524df2a
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ Sleep(unsigned int milliseconds)
int
itkMemoryProbesCollecterBaseTest(int, char *[])
{
constexpr size_t bufsize = 256L * 1024L * 1024L; // 256 MiB
constexpr size_t bufsize = 768L * 1024L * 1024L; // 768 MiB

itk::MemoryProbesCollectorBase mcollecter;
itk::MemoryProbe probe;
Expand Down

0 comments on commit 524df2a

Please sign in to comment.