diff --git a/paddle/fluid/memory/detail/system_allocator.cc b/paddle/fluid/memory/detail/system_allocator.cc index 6d68aa165a4f7f0830160f6502363243f1c68411..c3d40095c746475ba6616c1b8bdf27fd3532fa9d 100644 --- a/paddle/fluid/memory/detail/system_allocator.cc +++ b/paddle/fluid/memory/detail/system_allocator.cc @@ -123,7 +123,7 @@ void* GPUAllocator::Alloc(size_t* index, size_t size) { " MB GPU memory. Please shrink " "FLAGS_fraction_of_gpu_memory_to_use or " "FLAGS_initial_gpu_memory_in_mb or " - "FLAGS_reallocate_gpu_memory_in_mb" + "FLAGS_reallocate_gpu_memory_in_mb " "environment variable to a lower value. " + "Current FLAGS_fraction_of_gpu_memory_to_use value is " + std::to_string(FLAGS_fraction_of_gpu_memory_to_use) +