mirror of
https://gitlab.com/pulsechaincom/erigon-pulse.git
synced 2025-01-03 09:37:38 +00:00
eb65ffbaa7
Tested on Debian 11 by: $ git revert HEAD $ make docker $ docker run --memory=8.8G <sha> before the fix outputs: 15.6 GB after the fix outputs: 8.8 GB
12 lines
168 B
Go
12 lines
168 B
Go
//go:build !linux
|
|
|
|
package mmap
|
|
|
|
import (
|
|
"errors"
|
|
)
|
|
|
|
func cgroupsMemoryLimit() (uint64, error) {
|
|
return 0, errors.New("cgroups not supported in this environment")
|
|
}
|