You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Trying to sync on mainnet for a few days now, but it runs out of memory and the process kills itself.
Syncing from block 709632. Server has 64 GB of RAM.
No, never got around this issue. Gave up on it a few months back. Has there been any fix since then?
No, there hasn't. But I experienced the same issue. I think the problem is that computing the scalars goes much faster than updating the unspents, and so https://github.com/louisinger/silentiumd/blob/master/internal/application/syncer_service.go#L217-L219
becomes a very long memory consuming queue. I don't know any go, really - just looked at the code quickly. The code base is small.
One can change this to become a blocking call by just
and this makes it not eat all your memory. But syncing is very slow.
I know there is at least one other implementation, also in go. Maybe worth to check out - depending on what you want to do.
I know there is at least one other implementation, also in go. Maybe worth to check out - depending on what you want to do.
I assume you are referencing my implementation with the BlindBit suite. https://github.com/setavenger/blindbit-oracle
I'm not aware of any memory issues with Oracle, so give it a try if you want to.
I know there is at least one other implementation, also in go. Maybe worth to check out - depending on what you want to do.
I assume you are referencing my implementation with the BlindBit suite. https://github.com/setavenger/blindbit-oracle I'm not aware of any memory issues with Oracle, so give it a try if you want to.
Indeed I was. Will look at that more closely as well.
Activity
tsjk commentedon Feb 4, 2025
Did you manage to work around this issue?
HalFinneyIsMyHomeBoy commentedon Feb 4, 2025
No, never got around this issue. Gave up on it a few months back.
Has there been any fix since then?
tsjk commentedon Feb 4, 2025
No, there hasn't. But I experienced the same issue. I think the problem is that computing the scalars goes much faster than updating the unspents, and so
https://github.com/louisinger/silentiumd/blob/master/internal/application/syncer_service.go#L217-L219
becomes a very long memory consuming queue. I don't know any go, really - just looked at the code quickly. The code base is small.
One can change this to become a blocking call by just
and this makes it not eat all your memory. But syncing is very slow.
I know there is at least one other implementation, also in go. Maybe worth to check out - depending on what you want to do.
tsjk commentedon Feb 4, 2025
Perhaps there is a middle-ground somewhere, like limiting the queue size, but as I don't know golang I have no concrete ideas.
setavenger commentedon Feb 4, 2025
I assume you are referencing my implementation with the BlindBit suite. https://github.com/setavenger/blindbit-oracle
I'm not aware of any memory issues with Oracle, so give it a try if you want to.
tsjk commentedon Feb 4, 2025
Indeed I was. Will look at that more closely as well.