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
The signer service has a memory leak caused by initiating new connections via polkadot-js.
This already happens in the status endpoint. The status endpoint opens the following connections and queries on-chain data:
to Stellar
to Pendulum
to Moonbeam
Through experiments I can conclusively say that the connections to Stellar and Moonbeam via their respective libraries do not cause memory leaks and allow that all their allocated space can be cleanly garbage collected.
However, each call to sendPendulumStatusWithPk causes about 12 MByte of heap allocation that is not eligible for garbage collection.
TODO
Find a way to avoid the memory leak.
The text was updated successfully, but these errors were encountered:
The signer service has a memory leak caused by initiating new connections via polkadot-js.
This already happens in the status endpoint. The status endpoint opens the following connections and queries on-chain data:
Through experiments I can conclusively say that the connections to Stellar and Moonbeam via their respective libraries do not cause memory leaks and allow that all their allocated space can be cleanly garbage collected.
However, each call to
sendPendulumStatusWithPk
causes about 12 MByte of heap allocation that is not eligible for garbage collection.TODO
Find a way to avoid the memory leak.
The text was updated successfully, but these errors were encountered: