getalldata uses a lot of RAM on large wallets #98

Open
opened 2 years ago by duke · 0 comments
duke commented 2 years ago
Owner

I was just testing getalldata on the dev branch on a large wallet.dat (340MB) and it seemed to work once or twice but then crash the node. It turned out that the Linux OOM Killer was killing the hushd process because the machine was running out of memory.

It looks like calling this RPC uses an additional 1 to 2 GB of RAM in addition to whatever hushd is using. If we can optimize this RPC to use less memory that would be valuable.

I was just testing `getalldata` on the dev branch on a large wallet.dat (340MB) and it seemed to work once or twice but then crash the node. It turned out that the Linux OOM Killer was killing the hushd process because the machine was running out of memory. It looks like calling this RPC uses an additional 1 to 2 GB of RAM in addition to whatever hushd is using. If we can optimize this RPC to use less memory that would be valuable.
duke added the
bug
label 1 year ago
Sign in to join this conversation.
No Milestone
No project
No Assignees
1 Participants
Notifications
Due Date

No due date set.

Dependencies

This issue currently doesn't have any dependencies.

Loading…
There is no content yet.