leak

Iphone SDK Utility Application template has leak

Hi, i'm only create an project with a Utility Application template. This template has a native memory leak when i push "info button" to flip the view. Anyone know how can i fix this leak ??? I just make an new project from this template, i don't add new objects. ...

Memory Leak in Oracle Client 10.2.04 for 64bit ASP.NET application

Does anybody know of Memory Leak in Oracle Client 10.2.04 64bit? We use in on ASP.NET application running on Windows 2008 server with System.Data.OracleClient and our process is growing to 2.4GB withing few days! ...

GDI+ leaks memory when deleting pointers as GdiplusBase*? (C++)

Hi all, I'm trying to work with GDI+ and I'm running into a weird memory leak. I have a vector of GdiplusBase pointers, all of them dynamically created. The odd thing is, though, is that if I try to delete the objects as GdiplusBase pointers, e.g. vector<GdiplusBase*> gdiplus; gdiplus.push_back(new Image(L"filename.jpg")); delete gdiplu...

How do I find resource leaks in Win32?

After running some hours my application fails in creating a new font object: CreateFontIndirect() returns NULL. I know how to find memory leaks (i.e. using parallel inspector or another profiler - most of them include leak detection). But how can i locate a ressource leak in Win32? ...

Memory Leak Copying data From server

for (int i=0; i<[images count] ;i++) { url=@"http://192.168.0.101/titan/titanimages/"; url=[url stringByAppendingString:[images objectAtIndex:i]]; //NSData *imageData=[[NSData alloc] initWithContentsOfURL:[NSURL URLWithString:url]]; NSData *imageData=[NSData dataWithContentsOfURL:[NSURL URLWithString:url]]; destinationPath=[document...

WPF WriteableBitmap Memory Leak?

Hello, everyone! I'm trying to figure out how to release a WriteableBitmap memory. In the next section of code I fill the backbuffer of a WriteableBitmap with a really large amount of data from "BigImage" (3600 * 4800 px, just for testing) If I comment the lines where bitmap and image are equaled to null, the memory it´s not release an...

.NET memory leak?

I have an MDI which has a child form. The child form has a DataGridView in it. I load huge amount of data in the datagrid view. When I close the child form the disposing method is called in which I dispose the datagridview this.dataGrid.Dispose(); this.dataGrid = null; When I close the form the memory doesn't go down. I use t...

AVAudioPlayer memory leak

Hi there, I'm stuck on some weird memory leak problem related to the AVAudioPlayer and I need help after trying everything that came to mind. Here is the short description of the problem - code appears right after. I initialize my player and start to play the sound track in an endless loop (and endless loop or one time play did not cha...

Core Data Leaking Memory?

I keep seeing what appears to be a memory leak - but I can't tell what to do. It looks like a memory leak in Core Data. I can see the LAST method I explicitly invoke in Objective-C, but I'm not creating any object there. I'm saving something and Core Data is leaking memory according to Leaks. Am I reading this incorrectly? ...

"Lucene.net-2.3.2.1” memory leakages problem

Dear All, I am using Lucene.Net-2.3.2.1 in my project. My project also supporting multithreading environment. Lucene Indexing service is working as Windows Service. Problem is when the service is running, it's memory blockage is gradually increasing. So after some hours, it shows a memory of 150 mb in Task Manager where as it start with...

C++: tiny memory leak with std::map

I am writing a custom textfile-data parser (JSON-like) and I have lost many hours trying to find a tiny memory leak in it. I am using VC++2008 and the commands _CrtMemCheckpoint and _CrtDumpMemoryLeaks to check for memory leaks. When I parse any file and then remove it from memory (alongside any other memory claimed), I get a 16 bytes ...

Media Player MPMediaItemArtwork Memory Leak

Hello, I seem to be getting a memory leak when getting the album artwork for the currently playing item with this code: MPMediaItem *playingItem = self.musicPlayer.nowPlayingItem; MPMediaItemArtwork *artwork = [playingItem valueForProperty:MPMediaItemPropertyArtwork]; I have tried [artwork release]; even though I didn't alloc artwork...

WPF-application memory leak

Hello. After certain action (pressing a button that starts a sequence of calculations) in the WPF-application a memory leak occurs (it is visible in the task manager in vm size section) approximately on 10 mbytes after each pressing of the button. The sequence of calculations does not contain errors. The use of memory profiler (.NET Memo...

Tomcat ThreadWithAttributes causing Memory Leak

I have out of memory issues with following environment: Tomcat 5.1.23 Using XFire WebServices Framework JDK 1.5 Used YourKit to profile it and found out multiple instances of class org.apache.tomcat.util.threads.ThreadWithAttributes has huge ArrayList object (Stack Local) with java.lang.Object array containing duplicate string. Follow...

My code either leaks and works, or doesn't leak and crashes. This doesn't seem like an autorelease problem...

After I finished coding the difficult parts of my game, I found some memory management bugs. objects is a NSMutableArray holding a custom class. - (void) spawnObjects { for (int index = 0; index < INITIAL_OBJECTS; index++) { [objects addObject:[[[MatchObject alloc] initWithImageNameID:(index % 3)] autorelease]]; ...

Another iPhone - CGBitmapContextCreateImage Leak

Like in this post: iPhone - UIImage Leak, ObjectAlloc Building I'm having a similar problem. The pointer from the malloc in create_bitmap_data_provider is never freed. I've verified that the associated image object is eventually released, just not the provider's allocation. Should I explicitly create a data provider and somehow man...

How Can I Prevent Memory Leaks in IE Mobile?

Hi All, I've written an application for use offline (with Google Gears) on devices using IE Mobile. The devices are experiencing memory leaks at such a rate that the device becomes unusable over time. The problem page fetches entries from the local Gears database and renders a table of each entry with a link in the last column of each ...

iphone memory leak with uitableview and sqlite

Hi All, I am having a problem with what I believe is a memory leak which after some time is causing my app to slow down. I have a sectioned uitableview that has sections of 'movie directors' with rows of thier movies in their particular section. To do this I am calling a data object (and passing it the section header) to return that se...

General strategy to resolve Java memory leak?

I have a standalone program that I run locally, it is meant to be a server type program running 24/7. Recently I found that it has a memory leak, right now our only solution is to restart it every 4 hours. What is the best way to go about finding this memory leak? Which tool and method should we use? ...

Memory Leaks in Cocoa

I'm working on an iphone application and having some trouble with memory leaks. I've read some docs about garbage collection that it make it sound simple but I must be missing something. I've got a viewController that needs access to an array which may need to repopulated from time to time. Here is a simplified version of what I have:...