From 86acf34c0a40a6a31c2a5765702f81345cf46ddf Mon Sep 17 00:00:00 2001 From: ling Date: Tue, 25 Aug 2020 10:42:31 +0800 Subject: [PATCH] [MS][LITE][Develop]make allocator malloc 2G --- mindspore/lite/src/runtime/allocator.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mindspore/lite/src/runtime/allocator.h b/mindspore/lite/src/runtime/allocator.h index b5acf0fdfd..4c868c1e22 100644 --- a/mindspore/lite/src/runtime/allocator.h +++ b/mindspore/lite/src/runtime/allocator.h @@ -72,7 +72,7 @@ class DefaultAllocator : public Allocator { bool lockFlag = false; }; -#define MAX_MALLOC_SIZE 500 * 1024 * 1024 +#define MAX_MALLOC_SIZE (2000 * 1024 * 1024) } // namespace mindspore::lite