Comments (17)
It's hard to remember but it shout be more than a bit. Can you please share the whole code?
from wmilight.
from wmilight.
"The .Net framework implementation has one big problem. It leaks a little bit memory on each remote operation."
Your code queries your local pc. Therefore you see no leak. But you can add a scope to the ManagmentObjectSearcher to query another pc.
from wmilight.
from wmilight.
Yes, this should work.
from wmilight.
from wmilight.
Did you tested it with remote connection?
from wmilight.
from wmilight.
I know these problems 😓
from wmilight.
from wmilight.
That looks like the tiny leak i remember.
I also tried to reproduce the issue. But no success. Maybe its already fixed in the new .Net or windows version.
from wmilight.
from wmilight.
But in your case there is a tiny leak. This is a problem if you implement a service that requests multiple servers and multiple classes every few seconds.
from wmilight.
from wmilight.
You are right. Than I will close the issue.
from wmilight.
from wmilight.
You're welcome.
from wmilight.
Related Issues (14)
- Enumeration Options HOT 4
- UseIntegratedWindowsAuthentication for remote connections HOT 2
- Missing assembly version and strong name signature HOT 6
- More permissive license? HOT 9
- System.InvalidProgramException HOT 1
- WmiLight integral types inconsistent with System.Management types HOT 9
- Lot of dll in ouput dir HOT 1
- Implement ComWrappers API for AOT/Trim compatibility HOT 6
- not working with native aot: Common Language Runtime detected an invalid program HOT 26
- NativeAOT publish fails to statically link WmiLight when it is packaged in a dependent library HOT 11
- System.TypeLoadException when PublishTrimmed = true and PublishAot = false HOT 3
- Event watcher question HOT 14
- Finalizer of the WbemClassObject created by event callback causes AccessViolationException HOT 2
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 wmilight.