memory (6,110)


.net - Anatomy of a “Memory Leak”

.net - Anatomy of a “Memory Leak”

In.NET perspective: What is a memory leak ? How can you determine whether your application leaks? What are the effects? How can you prevent a memory leak? If your application has memory leak, does it…


c# - Compressing/Decompressing Folders & Files

Does anyone know of a good way to compress or decompress files and folders in C# quickly? Handling large files might be necessary.…


Embedded Database for.net that can run off a network

I was(and still am) looking for an embedded database to be used in a.net(c#) application. The caveat: The Application(or at least the database) is stored on a Network drive, but only used by 1 us…


c# - Setting Objects to Null/Nothing after use in.NET

Should you set all the objects to null(Nothing in VB.NET) once you have finished with them? I understand that in.NET it is essential to dispose of any instances of objects that implement the IDisposab…


c# - What Are Some Good.NET Profilers?

Locked.This question and its answers are locked because the question is off-topic but has historical significance. It is not currently accepting new answers or interactions. What profilers have you us…


iphone - Understanding reference counting with Cocoa and Objective-C

I'm just beginning to have a look at Objective-C and Cocoa with a view to playing with the iPhone SDK. I'm reasonably comfortable with C's malloc and free concept, but Cocoa's references counting sche…



Of Memory Management, Heap Corruption, and C++

So, I need some help. I am working on a project in C++. However, I think I have somehow managed to corrupt my heap. This is based on the fact that I added an std::string to a class and assigning it a…


Any decent C# profilers out there?

I need a C# profiler. Although I'm not averse to paying for one, something which is free or at least with a trial version would be ideal since it takes time to raise a purchase order. Any recommendati…


Reading Other Process' Memory in OS X?

I've been trying to understand how to read the memory of other processes on Mac OS X, but I'm not having much luck. I've seen many examples online using ptrace with PEEKDATA and such, however it does…


c++ - How to prevent an object being created on the heap?

Does anyone know how I can, in platform-independent C++ code prevent an object from being created on the heap? That is, for a class "Foo", I want to prevent users from doing this: Foo*ptr=new Foo;…




how example java usage leak and management size allocation file