Skip to content

Document Web3signer default heap#2560

Open
yorickdowne wants to merge 1 commit intoethstaker:mainfrom
yorickdowne:web3signer-heap
Open

Document Web3signer default heap#2560
yorickdowne wants to merge 1 commit intoethstaker:mainfrom
yorickdowne:web3signer-heap

Conversation

@yorickdowne
Copy link
Copy Markdown
Collaborator

@yorickdowne yorickdowne commented Apr 22, 2026

What I did

26.4.1 fixes a memory leak on startup

This needs to be thoroughly tested. In draft until I can do so. Ethstaker has 15k Hoodi keys, that would be a good test.

After testing, no. With -Xmx6g and 32 keys, Web3signer uses no more than 1.5 GiB during key load. With 15,000 keys, it uses up to 6.4 GiB during key load in 500-key batches, then drops down.

High Xmx does not hurt users with few keys, and protects users with many keys.

Changed PR to merely correctly document the default

@yorickdowne yorickdowne marked this pull request as draft April 22, 2026 12:25
@yorickdowne yorickdowne changed the title Reduce Web3signer default heap to 2g Document Web3signer default heap Apr 23, 2026
@yorickdowne yorickdowne marked this pull request as ready for review April 23, 2026 15:45
@yorickdowne yorickdowne requested a review from pietjepuk2 April 23, 2026 15:45
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant