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
{{ message }}
This repository was archived by the owner on Aug 3, 2021. It is now read-only.
I am using LinFu to work with proxy classes, allowing me to transparently store additional data. Over the lifetime of the process there may be many millions of intercepted calls.
Lately, I've been getting OutOfMemory exceptions on 32bit computers, which I tracked to the IgnoredInstancesRegistry. In there, every intercepted call is stored in a HashTable. The HashTable thus keeps getting bigger, fragmenting the large object heap and eventually causing the OOM.
Unfortuantely, there is no real documentation on the IgnoredInstancesRegistry. What is it supposed to be used for? Would it be possible to allow disabling its functionality?
I am using LinFu to work with proxy classes, allowing me to transparently store additional data. Over the lifetime of the process there may be many millions of intercepted calls.
Lately, I've been getting OutOfMemory exceptions on 32bit computers, which I tracked to the IgnoredInstancesRegistry. In there, every intercepted call is stored in a HashTable. The HashTable thus keeps getting bigger, fragmenting the large object heap and eventually causing the OOM.
Unfortuantely, there is no real documentation on the IgnoredInstancesRegistry. What is it supposed to be used for? Would it be possible to allow disabling its functionality?