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
I have found that there seems to be far more memory allocation in Helia than what is expected when persistent stores are used, the allocation seems to be about equal with the import size so I think it is not freeing up buffer memory somewhere.
I have found 2 cases where this happens - importing local data into Helia & fetching remote data into Helia. The following examples show this first case.
I have found that there seems to be far more memory allocation in Helia than what is expected when persistent stores are used, the allocation seems to be about equal with the import size so I think it is not freeing up buffer memory somewhere.
I have found 2 cases where this happens - importing local data into Helia & fetching remote data into Helia. The following examples show this first case.
This allocates excess memory:
This does not allocate excess memory:
Is this a mistake on my part, an expected result or a memory leak?
To make it easy to replicate I have made a repo that illustrates these examples (at least on my machine): https://github.com/saul-jb/helia-memory-leak
I have tested it with both node
v18.18.2
&v20.7.0
.As far as I can tell from my own debugging so far the problem lies somewhere in Helia's
BlockStorage
.The text was updated successfully, but these errors were encountered: