No interface provided to set 'max_num_snapshots' when profile memory

When using the tensorflow profiler for memory footprint analysis, the profiler keeps up to 1000 snapshots. This default value limits us to more detailed memory analysis. I would like to know why this default value is set to 1000.

The relevant code is as follows:

tensorflow/tensorflow/core/profiler/convert/xplane_to_memory_profile.h

Line 30 in f0df570

MemoryProfile ConvertXPlaneToMemoryProfile(const XPlane& host_plane,

tensorflow/tensorflow/core/profiler/convert/xplane_to_memory_profile.cc

Line 550 in f0df570

MemoryProfile memory_profile = ConvertXPlaneToMemoryProfile(*host_plane);