Giter Club home page Giter Club logo

Comments (8)

gotson avatar gotson commented on July 21, 2024

I cannot reproduce, i am on a Mac.

from nightmonkeys.

JayanWarden avatar JayanWarden commented on July 21, 2024

Interesting and slightly concerning.
I managed to build this project on Windows 11

from nightmonkeys.

gotson avatar gotson commented on July 21, 2024

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.

JayanWarden avatar JayanWarden commented on July 21, 2024

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.

gotson avatar gotson commented on July 21, 2024

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.

JayanWarden avatar JayanWarden commented on July 21, 2024

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.

gotson avatar gotson commented on July 21, 2024

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.

JayanWarden avatar JayanWarden commented on July 21, 2024

500 Iters -> java.exe at 1.5GB commit size
grafik

1.5k iters -> java.exe at 3.86GB commit size
grafik

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
grafik

from nightmonkeys.

Related Issues (4)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.