Quantcast
Channel: Math.NET Numerics
Viewing all articles
Browse latest Browse all 971

New Post: Memory doubled when using LUFactor

$
0
0
Thanks for the repro.

I can confirm:
  • The process private memory is doubled while LUFactor is running, but freed right before it returns
  • The additional memory does not seem to be managed memory.
  • This only happens with Complex and Complex32, but not with double or float.
It may be caused by the marshaling of the Complex/Complex32 structure.
This may be tweakable by adjusting the structure layout and marshaling (maybe manual pinning and pointer/unsafe).

Update: would be great if we could avoid any copying at marshaling!

Viewing all articles
Browse latest Browse all 971

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>