Comments (3)
Probably duplicate of #2634 and #2645
from skiasharp.
It doesn't seem to matter which version of SkiaSharp I use. Nor does the error happen consistently. Seems to be more related to the previous issue I created #2456
from skiasharp.
As somewhat of a workaround I found if I manually dispose and garbage collect after resizing the image it will mostly fix the issue:
subset.Dispose();
subset = null;
GC.Collect();
I say mostly, because the error will not occur now after a few dozen iterations. Instead, I can process about a thousand images before I get an AccessViolation error. So perhaps there is another memory leak somewhere in another portion of the code.
from skiasharp.
Related Issues (20)
- [BUG] Hard crash when using SkiaSharp 2.88.6 with .Net 8 RC2 HOT 3
- SKSL does not allow SamplingOption Mode "Linear" for Interpolation HOT 2
- [FEATURE] Include `SkiaSharp.Views.WinUI` in `SkiaSharp.Views.Uno.WinUI` HOT 1
- [BUG] SKBitmap.Encode issue with Skiasharp 2.88.6 on .NET 8.0 MacOS and iOS HOT 5
- [BUG] libjpeg-turbo => 3.0.1 HOT 4
- [FEATURE] PDF respect 1bpp size (smaller output size)
- The given key offset wast not present in the dictionary
- [BUG] Rendering issue with Rgb888x image HOT 2
- [BUG] Crash in SKCodec > GetScaledDimensions HOT 1
- Cannot compile native Skia, python3 does not exist. HOT 6
- [BUG] Cannot build native iOS libSkiaSharp with cake HOT 1
- SKGLControl : Object reference not set to an instance of an object.
- [BUG] SkCanvas Crop not Proper Working ? HOT 1
- [BUG] SKMaskFilter.CreateBlur and SKMaskFilter.CreateGamma issue
- Unable to load library 'libSkiaSharp' HOT 2
- [BUG] Incorrect font search on macos
- SkSVGDOM bindings
- [BUG] Alpha not working with Black color and SKSvgCanvas
- [BUG] MAUI SKCanvasView.CanvasSize is zero on MacCatalist, and OnPaintSurface not called HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from skiasharp.