I have an application, basically, create a new byte array (less than 1K) store some data after few seconds (generally less than 1 minute, but some data stored up to 1 hour) write to disk and data will
How to properly convert a CLR type, say Foo^, to void* and back some time later? The scenario is, I have some unmanaged code in a DLL that can be summarized as
I am working onproject that uses this pattern var businessEntity = new DAL().GetObject(id); // do something with the business entity.
Is there any way to get GC.Collect() to be called before throwing an OutOfMemoryException? I suppose I\'m looking for a way for it to do the following code flow:
I have a Java Heap Dump taken at 7:41pm which I am analysing with Eclipse Memory Analysis Tool. The heap dump includes 20 session objects.
Here\'s my implementation of a sort of treap (with implicit keys and some additional information stored in nodes): http://hpaste.org/42839/treap_with_implicit_keys
What are the differences between shared pointers (such as boost::shared_ptr or the new std::shared_ptr) and garbage collection methods (such as those implemented in Java or C#)? The way I understand i
Folks, If I set a large object开发者_如何学运维 to .net to null in the middle of a long-running method (not necessarily CPU intensive...just long-running) is it immediately game for garbage collectio
I\'m using Paperclip (2.3) to handle image uploads on a Rails 3.0.3 app running on Ubuntu. Paperclip is handling the uploads as advertised BUT the RackMultipart* files that are created in the applicat
It is my understanding that the default ClassLoader used in Java (and thus, Clojure) holds on to pointers to any anonymous classes created, and thus, onto lambdas and closures. These are never garbage