Code Monkey home page Code Monkey logo

Comments (3)

mfleisch avatar mfleisch commented on June 13, 2024

Hey,
Sorry for the very late response!
The parameter specifies how many threads are available for CPU intense tasks to control the parallelization of the algorithms. Besides that other thread might be occupied for IO or scheduling tasks. Besides that the JVM might also occupy threads e.g. for Garbage Collection.
However a continuous CPU load of 100% seems not normal. A typical reason for that might be a too small Heap Size. In such cases continuous garbage collecting may result in massive CPU load.

One way to reliably restrict the number of CPU cores of a JVM base software is to use some kind of virtualization (e.g. some container solution).

from sirius.

bernt-matthias avatar bernt-matthias commented on June 13, 2024

Is there a good value to set for the Heap Size? I guess this should be -Xms, right?

from sirius.

mfleisch avatar mfleisch commented on June 13, 2024

Hey,
you could either use the environment variable SIRIUS_OPTS or modify the SIRIUS start script.
The parameter to set the max heap size is -Xmx (e.g. -Xmx16G)

A good value really depends on the data. But you should not use more than 60% or 70% of the available system memory so that there is some memory left for the ILP solver.

from sirius.

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.