Giter Club home page Giter Club logo

Comments (2)

BLuFeNiX avatar BLuFeNiX commented on August 17, 2024

from gif2boot.

BLuFeNiX avatar BLuFeNiX commented on August 17, 2024

Exception in thread "Thread-1" java.lang.OutOfMemoryError: Java heap space
at java.awt.image.DataBufferInt.(DataBufferInt.java:75)
at java.awt.image.Raster.createPackedRaster(Raster.java:467)
at java.awt.image.DirectColorModel.createCompatibleWritableRaster(DirectColorModel.java:1032)
at java.awt.image.BufferedImage.(BufferedImage.java:333)
at backend.createBootZip(backend.java:123)
at gif2bootGUI$9$1.run(gif2bootGUI.java:232)
at java.lang.Thread.run(Thread.java:748)
it preprocesses 203 frames then this.
15-1

This project is definitely in need of a rewrite to fix the memory management. However, as a quick fix, you can increase the heap memory available by running it like this:

java -Xmx8G -jar gif2boot.jar

I tested your gif at 1080x2160, and it generates the bootanimation.zip just fine.If 8 doesn't work for you, you may need to try a larger number. If you do not have 8 GB of RAM, then you may have to wait for a proper fix (or you can try 6 GB and maybe that will work instead).

I will leave this this issue open for now.

from gif2boot.

Related Issues (2)

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.