Skip to content

Commit 9f76f75

Browse files
committed
ITS: set default memlimit to high
1 parent 873fd6c commit 9f76f75

File tree

2 files changed

+8
-4
lines changed

2 files changed

+8
-4
lines changed

Detectors/ITSMFT/ITS/tracking/include/ITStracking/Configuration.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@
1616
#ifndef TRACKINGITSU_INCLUDE_CONFIGURATION_H_
1717
#define TRACKINGITSU_INCLUDE_CONFIGURATION_H_
1818

19+
#include <cstddef>
20+
#include <limits>
1921
#ifndef GPUCA_GPUCODE_DEVICE
2022
#include <array>
2123
#include <climits>
@@ -108,7 +110,7 @@ struct TrackingParameters {
108110
float TrackFollowerNSigmaCutPhi = 1.f;
109111

110112
bool PrintMemory = false; // print allocator usage in epilog report
111-
size_t MaxMemory = 12000000000UL;
113+
size_t MaxMemory = std::numeric_limits<size_t>::max();
112114
bool DropTFUponFailure = false;
113115
};
114116

@@ -142,7 +144,7 @@ struct VertexingParameters {
142144

143145
int nThreads = 1;
144146
bool PrintMemory = false; // print allocator usage in epilog report
145-
size_t MaxMemory = 12000000000UL;
147+
size_t MaxMemory = std::numeric_limits<size_t>::max();
146148
bool DropTFUponFailure = false;
147149
};
148150

Detectors/ITSMFT/ITS/tracking/include/ITStracking/TrackingConfigParam.h

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@
1212
#ifndef ALICEO2_ITSDPLTRACKINGPARAM_H_
1313
#define ALICEO2_ITSDPLTRACKINGPARAM_H_
1414

15+
#include <limits>
16+
1517
#include "CommonUtils/ConfigurableParam.h"
1618
#include "CommonUtils/ConfigurableParamHelper.h"
1719

@@ -49,7 +51,7 @@ struct VertexerParamConfig : public o2::conf::ConfigurableParamHelper<VertexerPa
4951

5052
int nThreads = 1;
5153
bool printMemory = false;
52-
size_t maxMemory = 12000000000UL;
54+
size_t maxMemory = std::numeric_limits<size_t>::max();
5355
bool dropTFUponFailure = false;
5456

5557
O2ParamDef(VertexerParamConfig, "ITSVertexerParam");
@@ -94,7 +96,7 @@ struct TrackerParamConfig : public o2::conf::ConfigurableParamHelper<TrackerPara
9496

9597
int nThreads = 1;
9698
bool printMemory = false;
97-
size_t maxMemory = 12000000000UL;
99+
size_t maxMemory = std::numeric_limits<size_t>::max();
98100
bool dropTFUponFailure = false;
99101
bool fataliseUponFailure = true; // granular management of the fatalisation in async mode
100102

0 commit comments

Comments
 (0)