Top "Memory-management" questions

Process of dynamically allocating and freeing portions of physical memory in order to respond to program requests with, if possible, fairness and no starvation among the requesters.

How to resolve 'unrecognized selector sent to instance'?

In the AppDelegate, I'm alloc'ing an instance defined in a static library. This instance has an NSString property set a "…

objective-c iphone cocoa-touch memory-management static-libraries
How to allocate aligned memory only using the standard library?

I just finished a test as part of a job interview, and one question stumped me, even using Google for …

c memory-management
How can I give eclipse more memory than 512M?

I have following setup, but when I put 1024 and replace all 512 with 1024, then eclipse won't start at all. How can …

eclipse memory-management
How to monitor Java memory usage?

We have a j2ee application running on Jboss and we want to monitor its memory usage. Currently we use …

java garbage-collection monitoring memory-management
Resolving ORA-4031 "unable to allocate x bytes of shared memory"

I need some pointers on how to diagnose and fix this problem. I don't know if this is a simple …

oracle memory-management oracle10g
What uses are there for "placement new"?

Has anyone here ever used C++'s "placement new"? If so, what for? It looks to me like it would …

c++ memory-management new-operator placement-new
How can I create a dynamically sized array of structs?

I know how to create an array of structs but with a predefined size. However is there a way to …

c dynamic memory-management
Is it safe to delete a NULL pointer?

Is it safe to delete a NULL pointer? And is it a good coding style?

c++ pointers memory-management null-pointer delete-operator
How to get memory available or used in C#

How can I get the available RAM or memory used by the application?

c# memory-management
Pointer-to-pointer dynamic two-dimensional array

First timer on this website, so here goes.. I'm a newbie to C++ and I'm currently working through the book "…

c++ arrays pointers memory-management dynamic-arrays