Skip to content
This repository has been archived by the owner on Dec 11, 2019. It is now read-only.

geth immediately runs out of memory on start #15023

Closed
evq opened this issue Aug 14, 2018 · 1 comment
Closed

geth immediately runs out of memory on start #15023

evq opened this issue Aug 14, 2018 · 1 comment
Assignees
Milestone

Comments

@evq
Copy link
Member

evq commented Aug 14, 2018

Description

I'm using a fresh profile on linux, running current master.

Actual result:

GETH: spawned
INFO [08-14|19:47:33.192] Maximum peer count                       ETH=0 LES=100 total=10
INFO [08-14|19:47:33.195] Starting peer-to-peer node               instance=Geth/v1.8.13-stable-225171a4/linux-amd64/go1.10.3
INFO [08-14|19:47:33.195] Allocated cache and file handles         database=/home/user/.config/brave-development/ethereum/ropsten/geth/lightchaindata cache=10485 handles=1024
fatal error: runtime: out of memory

runtime stack:
runtime.throw(0xf59575, 0x16)
        /home/travis/.gimme/versions/go1.10.3.linux.amd64/src/runtime/panic.go:616 +0x81
runtime.sysMap(0xc420600000, 0xa3d00000, 0x0, 0x1b890b8)
        /home/travis/.gimme/versions/go1.10.3.linux.amd64/src/runtime/mem_linux.go:216 +0x20a
runtime.(*mheap).sysAlloc(0x1b6f760, 0xa3d00000, 0x7d5e50daea18)
        /home/travis/.gimme/versions/go1.10.3.linux.amd64/src/runtime/malloc.go:470 +0xd4
runtime.(*mheap).grow(0x1b6f760, 0x51e80, 0x0)

Expected result:
Geth runs

Reproduces how often:
100%

Brave Version

about:brave info:

Reproducible on current live release:

Additional Information

@evq
Copy link
Member Author

evq commented Aug 14, 2018

If I delete this flag geth starts normally:

    '--cache.database',
    gethCache,
GETH: spawned
INFO [08-14|19:51:28.925] Maximum peer count                       ETH=0 LES=100 total=10
INFO [08-14|19:51:28.927] Starting peer-to-peer node               instance=Geth/v1.8.13-stable-225171a4/linux-amd64/go1.10.3
INFO [08-14|19:51:28.928] Allocated cache and file handles         database=/home/user/.config/brave-development/ethereum/ropsten/geth/lightchaindata cache=768 handles=1024
INFO [08-14|19:51:28.991] Writing custom genesis block
INFO [08-14|19:51:29.039] Persisted trie from memory database      nodes=355 size=51.89kB time=4.513091ms gcnodes=0 gcsize=0.00B gctime=0s livenodes=1 livesize=0.00B
INFO [08-14|19:51:29.040] Initialised chain configuration          config="{ChainID: 3 Homestead: 0 DAO: <nil> DAOSupport: true EIP150: 0 EIP155: 10 EIP158: 10 Byzantium: 1700000 Constantinople: <nil> Engine: ethash}"
INFO [08-14|19:51:29.040] Disk storage enabled for ethash caches   dir=/home/user/.config/brave-development/ethereum/ropsten/geth/ethash count=3
INFO [08-14|19:51:29.040] Disk storage enabled for ethash DAGs     dir=/home/user/.ethash                                                count=2
INFO [08-14|19:51:29.043] Added trusted checkpoint                 chain=ropsten block=3538943 hash=e1988f…86e1ce
INFO [08-14|19:51:29.043] Loaded most recent local header          number=0 hash=419410…ca4a2d td=1048576
INFO [08-14|19:51:29.044] Starting P2P networking
INFO [08-14|19:51:31.152] UDP listener up                          net=enode://6eecf78899bf46138fc068f988d276868072af7fcecd7d39d4782547571f3ad189728e5d4ebb62daad5f5c9776b825fd9ad9f9b195fa62af4be169fd2f9bfd94@[::]:40400
INFO [08-14|19:51:31.159] RLPx listener up                         self="enode://6eecf78899bf46138fc068f988d276868072af7fcecd7d39d4782547571f3ad189728e5d4ebb62daad5f5c9776b825fd9ad9f9b195fa62af4be169fd2f9bfd94@[::]:40400?discport=0"
WARN [08-14|19:51:31.159] Light client mode is an experimental feature

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

3 participants