-
-
Notifications
You must be signed in to change notification settings - Fork 891
Closed
Description
Prerequisites
- I have written a descriptive issue title
- I have verified that I am running the latest version of ImageSharp
- I have verified if the problem exist in both
DEBUGandRELEASEmode - I have searched open and closed issues to ensure it has not already been reported
Description
I have send my code to many ppl on many Discords and everybody says that it is not my code at fault and that it probably is something else. So here i am.
In the SetBG function i use the ImageSharp resize command to resize the image. When i do this my Ram usage rockets from 30mb to 70mb. So i made a snapshot and checked the heap and ImageSharp is using a ton of ram for no apparent reason. Even after a very long time not even the GC removes it.
I tried alot of stuff. I dispose and flush everything and even desperately tried to call the GC at the bottom. Nothing seems to work
https://hastebin.com/xuyiriqunu.cs
Steps to Reproduce
Well you see the entire source code and the functions i use..
System Configuration
- ImageSharp version: v.1.0.0-alpha2-00118
- Other ImageSharp packages and versions:
ImageSharp drrawing, gif, jpeg, png, processing all same version besides processing (00106) and format.png(00114) - Environment (Operating system, version and so on): Windows 10 Pro 10.0.14393 Build 14393
- .NET Framework version: .NET core 1.0.1
- Additional information: Also using CoreCompat.System.Drawing.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels