We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f2cbb7 commit da3822dCopy full SHA for da3822d
internal/debug/api.go
@@ -252,7 +252,7 @@ func (*HandlerT) SetGCPercent(v int) int {
252
// - Geth also allocates memory off-heap, particularly for fastCache and Pebble,
253
// which can be non-trivial (a few gigabytes by default).
254
func (*HandlerT) SetMemoryLimit(limit int64) int64 {
255
- log.Info("Setting memory limit", "size", common.PrettyDuration(limit))
+ log.Info("Setting memory limit", "size", common.StorageSize(limit))
256
return debug.SetMemoryLimit(limit)
257
}
258
0 commit comments