LinuxQuestions.org
Go Job Hunting at the LQ Job Marketplace
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > Programming
User Name
Password
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.

Notices

Reply
 
Search this Thread
Old 10-08-2004, 07:49 PM   #1
ih1008
LQ Newbie
 
Registered: Oct 2004
Posts: 2

Rep: Reputation: 0
memory leaking in Qt program


I recently wrote a Qt program that draws a bunch of OpenGL widgets during runtime (on demand by the user of course). I ran a memory profiler (memprof) on the program and realized that memory was leaking. Whenever I initiated a new widget from the same process, the program took about 25 megs. However, when closing the widget, the program only freed about 18 megs, leaving 7 megs behind. I looked everywhere in my code to find a bug (especially in the constructors destructors of the classes) but did not find any problem. I ran a leak test on the program and found out that a function caller "s12113" is allocating tons of memory and never releasing it. I google searched a lot on this function with no success.

can you please tell me how i can track down the 's12113' caller or how i can resolve my program?
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RH3 memory leaking - kernel upgrade? christopherccv Linux - Enterprise 1 09-14-2005 06:07 PM
Error Loading Program Into Memory Kumarrrr Mandriva 2 07-31-2005 05:18 AM
getting memory from other program coredump2005 Programming 4 02-23-2005 02:49 PM
How to do memory management of a program in C? Franziss Programming 8 12-13-2004 02:52 AM
Memory Leak when using memory debugging C program on SuSE SLES8 babalina Linux - Distributions 0 10-06-2003 09:39 AM


All times are GMT -5. The time now is 08:42 PM.

Main Menu
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration