-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Indexing error: out of memory #262
Comments
Just taken a look at the indexer you linked and it is huge! 😅 I think the first thing is if you have a lot dynamic contract registrations try and set Secondly although it shouldn't have too much effect IMO is you can set To be clear the MAX_QUEUE_SIZE is simply the threshold of size the queue reaches before it stops making requests. There's no way currently to limit the number of events returned via hypersync query (which can be many thousands at a time). |
Thanks for the |
Hey @pavlovdog - let us know if this helped :) If you could also bump to v2.7.0 there have been lots of fixes and improvements in the last 2 weeks that could have resolved your issue 👍 |
@pavlovdog from cross referencing the hosted service deployment I believe your self hosted server is under resourced. |
Describe the bug
Self-hosted indexer works properly for some short period of time (5-10 minutes), then logs stop and memory consumption starts to grow. When it hits the limit, it fails with
heap out of memory
. It also feels that during that time,/metrics
and/healthz
response time starts to grow (discord message link).Here is the list of env options I'm using:
Local (please complete the following information):
Hosted Service (please complete the following information):
Additional context
Seems to happen only on self-hosted environments, can't see the error logs in the hosted service. But worth checking twice, since I have no access to the restarts counter and there is no log search. Feel free to reach out (https://t.me/p0tekhin), if you have any questions.
The text was updated successfully, but these errors were encountered: