I\'m having trouble with a memory leak in C#. I\'m seeing the memory usage in process manager increasing 10-20mb (and more) when no new objects should be getting created.
Do you do something manually in your projec开发者_如何学运维ts after PHP 5.3?Generally, I implement __destruct() everywhere to clean up object trees and close connections, etc.. This is pretty importa
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references,or expertise, but开发者_高级运维 this question will likely so
I have a collection (I\'m writing a Weak Dictionary) and I need to cull the dead WeakReferences periodically. What I\'ve usually seen is checks in the Add and Remove methods that say, \"After X modifi
I\'m developing a distributed system, which must maintain a distributed object graph, where objects can point to other objects, some of which may be on remote computers.It must also be possible to mov
Please clarify my doubt. class A{ Long weight = 1000L; } public class B extends A{ public static void main (String[] args){
I\'ve just been sorting out some memory leaks in my WPF application. To do so, I 开发者_运维问答used the CLR profiler, as well as watching process statistics in Windows Task Manager. My basic test was
If I assign a value to variable that is not declared global inside a function will that variable be unset automatically when function terminates or will it only be unset when the PHP script finishes e
I\'m working on a problem similar to that of garbage collection, where I need to be able to notify every object pointing to a particular object, should that object be moved elsewhere.
If I have a method like: public SomeObject GetObject(int ID){ SomeObject obj1 = new SomeObject(); obj1.ID = ID;