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