Comments (6)
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.
I'll tell you tomorrow. ;-)
from duetsoftwareframework.
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.
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.
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.
This is fixed in DCS
1.0.2.2.
from duetsoftwareframework.
Related Issues (20)
- x86_64 Builds HOT 6
- Marlin emulation not always returning command status. HOT 3
- [Bug]: Stuck on M905 during startup HOT 3
- [FeatureRequest]: Configurable path to systemctl or fallback HOT 5
- Add support for standalone rr_ HTTP calls HOT 1
- Make libraries trimmable HOT 1
- Implement file enumerations via SBC
- Enforce parameter values for G/M/T codes HOT 2
- [Bug]: stats fails to get file info on recent kernels HOT 1
- "sbcPythonDependencies" should not fail on builtin modules HOT 10
- Add emulation of M409 to add support for USB drives when PanelDue is attached
- Decimal places in analog readings in SBC mode
- Report line numbers of errors HOT 1
- Fix libcamerify support with webcam plugin permission on Debian Bullseye HOT 1
- Add support for fileread() HOT 1
- Add support for single-quoted values HOT 1
- Add support for decimal data type HOT 3
- Implement new M-codes to handle plugins
- Pass line and column numbers to expression evaluation requests
- Check SPI link error recovery after RRF encounters a header checksum error HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from duetsoftwareframework.