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
However, when I upload file 9.7MB size I am getting memory error. Are there any suggestions how to optimize memory by changing this code?
New Size is Width * 0.3, Height*0.3.
The image:
The text was updated successfully, but these errors were encountered:
I checked the mentioned issues but didn't find any proper solution or workaround. I am working on ASP .NET CORE app and when I upload and resize images(size 10 MB) the application memory instantly increases to 2-3GB would be there any suggestions how to avoid this? I have tried memory management methods from SixLabors/docs/blob/master/articles/ImageSharp/MemoryManagement.md page but it didn't seems to help. The code for resizing is the same as above.
Hello,
I have this method where I resize image(max size 10MB) to 1 MB.
However, when I upload file 9.7MB size I am getting memory error. Are there any suggestions how to optimize memory by changing this code?
New Size is Width * 0.3, Height*0.3.
The image:
The text was updated successfully, but these errors were encountered: