I have an Event Aggregator that\'s using WeakReferences to store Action<T>.The problem I\'m running into is that my actions keep getting garbage collected.
Is there a way to force the jvm that it should clear all WeakReferences (or all keys of a WeakHashMap) if they aren\'t referenced by regular references anymore?
I\'m currently working on a generational garbage collector. This means that only the most recent objects get traversed, surviving objects (= reachable from known roots) being promoted to the older gen
I\'m wondering if it is more efficient to place any vars referenced within a loop, outside of the loop - or can they get garbage collected like vars inside of a function?
I\'d like to have a rigorous understanding of the contract of GCHandle.Alloc(Object). I understand from t开发者_Python百科he documentation that if I call:
I was wondering how long do objects instantiated during a soap request ( which do not implement IDisposable ) stay in memory?
I am working on at the moment on a program that uses a lot of threads. A- My question is related to freeing up the executors once they have shut down for garbage collecting, what is the best way? I
I was wondering if it is possible to create a programming language without explicit memory allocation/deallocation (like C, C++ ...) AND without garbage collection (like Java, C#...) by doing a full a
Reading MT documentation, I\'ve seen that it is possible to release memory also implementing the IDisposable .NET patt开发者_运维技巧ern.
I am starting up a JBoss 4.2 server instance with the following command-line options: -Xms8192m -Xmx8192m -XX:+DisableExplicitGC -XX:MaxPermSize=512m