GithubHelp home page GithubHelp logo

Comments (8)

OxySempra avatar OxySempra commented on May 26, 2024

I seem to have fixed it by downloading and using the Java 64-bit. Downloaded from here: https://www.java.com/en/download/manual.jsp

Maybe you can let Java 64-bit to be one of the prerequisite of using the program? Anyways, thanks again for your work. It makes my military life so much better.

from novel-grabber.

Flameish avatar Flameish commented on May 26, 2024

Thanks for the info! I'm not sure what the default heap size on 32-bit is but it seems to be pretty low. You can manually increase it with the parameters -xms / -xmx (java -Xms1g -Xmx2g -jar NovelGrabber...) so I don't think 64-bit is a requirement just yet.
If a novel take more than 4gb of memory (32-bit limit) I'll seriously need to reevaluate my memory management.

from novel-grabber.

OxySempra avatar OxySempra commented on May 26, 2024

from novel-grabber.

Flameish avatar Flameish commented on May 26, 2024

Tested it with 50 MB. Ran out of memory after 160 chapters / 800 pages w/o images. I'm going to take a look where I can optimize it.

from novel-grabber.

OxySempra avatar OxySempra commented on May 26, 2024

from novel-grabber.

Flameish avatar Flameish commented on May 26, 2024

Cleared some unused chapter fields which improved garbage collection. Managed ~750 chapters on 50 MB

This is after 1300 chapters on default java settings:
image

from novel-grabber.

xx255q avatar xx255q commented on May 26, 2024

What changed from before where i could download 4000+ chapters without issue

from novel-grabber.

Flameish avatar Flameish commented on May 26, 2024

Sometimes it could look like this for some novels: (~200 chapters)
image

from novel-grabber.

Related Issues (20)

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.