dotnet-opa-wasm icon indicating copy to clipboard operation
dotnet-opa-wasm copied to clipboard

Memory usage spike after version upgrade from 0.14 to 0.70

Open akshay1298 opened this issue 1 year ago • 1 comments

I am experiencing a memory usage spike in my policy authorization framework in .net core after upgrading to version 0.70.0 of Opa.Wasm nuget. Before the upgrade, the memory usage was consistently below 100MB. After the upgrade, the memory usage has been spiking to over 1GB.

Upgraded below:

  • Opa.Wasm - from 0.14.0 to 0.70.0
  • .net core 3.1 to .net 6

I have tried the following to troubleshoot the issue: Restarting the application

Would anyone be able to help me with this?

akshay1298 avatar Aug 02 '23 11:08 akshay1298

That is quite the upgrade leap; maybe you can take my perf test project https://github.com/christophwille/dotnet-opa-wasm/tree/master/src/Opa.Wasm.Benchmarks and repurpose it for memory consumption tracking?

christophwille avatar Aug 02 '23 13:08 christophwille