I\'m trying to track the memory usage of a script that processes URLs. The basic idea is to check that there\'s a reasonable buffer before adding another URL to a cURL multi handler. I\'m using a \'ro
I have a VPS on which I serve Tomcat 6.0. 500mb memory was enough, when I had only two applications. Last week I deployed another web application and formed a new virtual host editing Tomcat server.xm
I wrote my own reference counted memory manager c++ (for fun) and I\'m sure it isn\'t perfect ;) . And now when I\'m trying to use it I got random SIGTRAP signals. If I comment out every line which ar
Sometimes when coding in Objective C for the iPhone I wonder if I should release an object in dealloc or is it sometimes better to release in viewWil开发者_运维百科lDisappear if that view is a separat
If i declare an NSArray with alloc & retain in single sentence then should i开发者_如何学Go release the NSArray object twice (i.e. [arrayObject release] 2 times) ?If you are creating an NSArray wi
A customer has some memory usage requirements of our application.They note that while our committed memory is reasonable, the reserved memory is high. They suspect this is because the CR开发者_高级运维
I am writing a new code in Fortran and hesitating between using allocatable arrays or pointer arrays. I read somewhere that allocatable arrays have significant advantages over pointer arrays:
Given the following code @interface MyClass { SomeObject* o; } @property (nonatomic, retain) SomeObject* o;
As someone that\'s new to Objective-C can someone give me an overview of the retain, assign, copy and any others I\'m missing, that follow the @property directive? What are they doing and why would I开
I\'ve seen a few posts on here about the issue of using retain or copy for strings. I still can\'t quite get my head around the difference or the importance.