diff --git a/internal/debug/api.go b/internal/debug/api.go index 9236462022..06f96591cd 100644 --- a/internal/debug/api.go +++ b/internal/debug/api.go @@ -216,7 +216,7 @@ func (*HandlerT) SetGCPercent(v int) int { // - Geth also allocates memory off-heap, particularly for fastCache and Pebble, // which can be non-trivial (a few gigabytes by default). func (*HandlerT) SetMemoryLimit(limit int64) int64 { - log.Info("Setting memory limit", "size", common.PrettyDuration(limit)) + log.Info("Setting memory limit", "size", common.StorageSize(limit)) return debug.SetMemoryLimit(limit) }