We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 0a47e49 commit 5c9045cCopy full SHA for 5c9045c
ydb/core/driver_lib/run/run.cpp
@@ -1057,6 +1057,11 @@ void TKikimrRunner::InitializeAllocator(const TKikimrRunConfig& runConfig) {
1057
for (const auto& a : allocConfig.GetParam()) {
1058
NMalloc::MallocInfo().SetParam(a.first.c_str(), a.second.c_str());
1059
}
1060
+#if defined(ALLOW_DEFAULT_ALLOCATOR)
1061
+ if (allocConfig.GetEnableDefaultAllocator()) {
1062
+ NKikimr::UseDefaultAllocator();
1063
+ }
1064
+#endif
1065
1066
1067
void TKikimrRunner::InitializeAppData(const TKikimrRunConfig& runConfig)
ydb/core/protos/alloc.proto
@@ -4,4 +4,5 @@ option java_package = "ru.yandex.kikimr.proto";
4
5
message TAllocatorConfig {
6
map<string, string> Param = 1;
7
+ bool EnableDefaultAllocator = 2;
8
};
0 commit comments