Comments (8)
I cannot reproduce, i am on a Mac.
from nightmonkeys.
Interesting and slightly concerning.
I managed to build this project on Windows 11
from nightmonkeys.
I ran it with a 1440x960 HEIC file, 135 KB, it ran for over 3000 iterations and i noticed no change on the memory usage.
Is it happening only with the heif plugin, or also with webp/jxl ?
What's you version of libheif ?
from nightmonkeys.
I'll need to figure out the webp read path, I'll do that when I have time.
I managed to build libheif for windows via https://github.com/Microsoft/vcpkg/
Sadly, only libheif 1.14 is available as a Windows port
from nightmonkeys.
I managed to build 1.17.5 from CI to include in my app.
The port file mentions it's on 1.17.6: https://github.com/microsoft/vcpkg/blob/master/ports/libheif/vcpkg.json
from nightmonkeys.
I rebuilt with a fresh pull of the sources.
My libheif on windows is now 1.17.6
libheif.pc
Name: libheif
Description: HEIF image codec.
URL: https://github.com/strukturag/libheif
Version: 1.17.6
Requires:
Requires.private: libde265 x265
java still consumes RAM untill exhaustion with my posted test read loop on Windows.
I'll check out the webp read path soon
from nightmonkeys.
java still consumes RAM untill exhaustion with my posted test read loop on Windows.
how many iterations does it take to exhaust the ram ? How much ram does your system have ?
from nightmonkeys.
500 Iters -> java.exe at 1.5GB commit size
1.5k iters -> java.exe at 3.86GB commit size
So, RAM rises pretty fast.
I have 64GB of system memory, which I can exhaust in a few minutes.
Heap Size stays as configured, right now the JVM only "uses" 77MB for the test loop app
from nightmonkeys.
Related Issues (4)
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 nightmonkeys.