Closed guillaume-chervet closed 8 months ago
There is explanation of why it doesn't work: https://github.com/dotnet/runtime/issues/94977#issuecomment-1818184343. Therefore, it's actually an issue with AOT infrastructure. However, in this case there is a cheap workaround.
This is why this issue considered as enhancement rather than bug.
Thank you so much @sakno for your commit !
I can't wait for the next release :)
It works very well, thank you so much @sakno
There is a big difference in used RAM once AOT is activated.
https://github.com/AxaFrance/SlimFaas/commit/9ce057377558af0a1b60e358459e0042d8ad2f73
Hi @sakno,
Thank you again for your awesome work !
SlimFaas now work in full Trim mode. But, now when I try to switch to AOT compilation I have an error at runtime (during startup). I would like to compare TRIM mode and AOT, because the lowest RAM usage is my priority.
I have the error bellow at runtime that you say it is linked to deletage constructor in discussion : https://github.com/dotnet/dotNext/discussions/200
My AOT SlimFaas PullRequest : https://github.com/AxaFrance/SlimFaas/pull/37/files
Thank you a lot for your help !