char *a() { char *t = malloc(8); t[0] = \'a\'; t[1] = \'b\'; //... t[7] = \'h\'; return t; } int m开发者_开发问答ain(void) {
I need some help finding a solution to a memory leak I\'m having. I have a C# application (.NET v3.5) that allows a user to run IronPython scripts for testing purposes. The scripts may load different
I have a Python program that runs a series of experiments, with no data intended to be stored from one test to another. My c开发者_StackOverflow社区ode contains a memory leak which I am completely una
Ran across this recently and wondering if someone out there can give me a good explanation.I was doing some refactoring and created a spring context to grab a configured service from an embedded confi
System:Windows XP SP3, .NET 3.5, 4GB RAM, Dual 1.6gHz I have a WPF application that loads and transitions (using Storyboard animations) extremely large PNGs. These PNGs are 8190x1080 in resolution. A
I have this code: [[data objectForKey:[keys objectAtIndex:0]] sizeWithFont:[UIFont systemFontOfSiz开发者_StackOverflowe:12]
SOLVED see Edit 2 Hello, I\'ve been writing a Perl program to handle automatic upgrading of local (proprietary) programs (for the company I work for).
We have a project where a 3rd party DLL is accessed through JacoZoom in a Tomcat application. Apparently the DLL leaks memory (confirmed by the vendor), but the vendor has no intention to fix this. Th
When I compile my iPhone project (in the command line), the log output looks like: 2009-11-05 22:19:57.494 xcodebuild[51128:613] warning: compiler \'com.apple.compilers.llvm.clang.1_0.analyzer\' is b
I have a simple tank wars style game using the allegro open source library.In my tank class, I initialize arrays of pointers to bitmap objects to 0.Then I create new objects with an allegro function c