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
In the client code, method private static IpcRequest GetRequest(Expression exp, MyInterceptor interceptor) (link)
You are generating a new Castle.Core proxy generator in every request. This should only be done once and statically. So, just simply add this to the top of your file:
I was making thousands of requests per minute and just watched the memory climb and climb... now, with the fix, it doesn't climb at all... AND is much faster!
thanks...
The text was updated successfully, but these errors were encountered:
In the client code, method
private static IpcRequest GetRequest(Expression exp, MyInterceptor interceptor)
(link)You are generating a new
Castle.Core
proxy generator in every request. This should only be done once and statically. So, just simply add this to the top of your file:then in the method above, just use the static
_proxyGenerator
instead of generating a new one each time.I was making thousands of requests per minute and just watched the memory climb and climb... now, with the fix, it doesn't climb at all... AND is much faster!
thanks...
The text was updated successfully, but these errors were encountered: