Giter Club home page Giter Club logo

Comments (6)

chrishamm avatar chrishamm commented on August 15, 2024

I suspect this is related to anonymous JSON deserialization in the DCS status update thread and a problem caused by the JSON.NET library. Can you check if the problem persists with the latest DSF version?

That particular code is still temporary and will be replaced soon, but I already added some further improvements to that part of the latest DCS version.

from duetsoftwareframework.

wilriker avatar wilriker commented on August 15, 2024

I'll tell you tomorrow. ;-)

from duetsoftwareframework.

wilriker avatar wilriker commented on August 15, 2024

It seems that whatever you did made it worse. The additional memory consumption was increased to 90-100MiB/hour but does not seem to be linear anymore (according to my few datapoints so far). I will collect some more data throughout the next days.

from duetsoftwareframework.

dc42 avatar dc42 commented on August 15, 2024

Could it be simply that DSF hasn't been given a memory limit, so as the memory is there the .NET subsystem is grabbing it in preference to doing garbage collection? I presume there is a way of setting a memory limit.

from duetsoftwareframework.

wilriker avatar wilriker commented on August 15, 2024

I don't know .NET Core enough to say how memory is limited. A quick search also did not reveal anything. I know from Java that if you do not specify anything it will be limited to 25% of total RAM but obviously that's not the case for .NET Core. I will try to find a setting if possible and check with a very low value if it
a) garbage collects and continuous or
b) dies with OutOfMemoryException

EDIT: I have now limited the amount of memory externally (since I did not find a switch for .NET Core) in multiple steps. It is not allowed to use any swap space at all. The low memory usage mark is set to 100MB, the high mark is set to 250MB and once it reaches 500MB it will be killed by the OS.

from duetsoftwareframework.

wilriker avatar wilriker commented on August 15, 2024

This is fixed in DCS 1.0.2.2.

from duetsoftwareframework.

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.