We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents a583b82 + ae82737 commit d73205dCopy full SHA for d73205d
1 file changed
internal/debug/api.go
@@ -216,7 +216,7 @@ func (*HandlerT) SetGCPercent(v int) int {
216
// - Geth also allocates memory off-heap, particularly for fastCache and Pebble,
217
// which can be non-trivial (a few gigabytes by default).
218
func (*HandlerT) SetMemoryLimit(limit int64) int64 {
219
- log.Info("Setting memory limit", "size", common.PrettyDuration(limit))
+ log.Info("Setting memory limit", "size", common.StorageSize(limit))
220
return debug.SetMemoryLimit(limit)
221
}
222
0 commit comments