Review your favorite Linux distribution.
Go Back > Forums > > Member Intro
User Name
Password Member Intro New to Been a long time member but never made a post? Introduce yourself here.


Closed Thread
  Search this Thread
Old 04-15-2011, 01:34 PM   #1
LQ Newbie
Registered: Apr 2011
Posts: 4

Rep: Reputation: 0
How to find which part of my program consume how much memory ?


I am trying to run C++ program on linux.

My program consume a lot of memory so that
the memory is used up fast and memory swap
is very high.

I can find this by "ps" .

My program is long.

I need to find out which part of my program
consume so much memory ?

Any help is really appreciated.


April 15 2011
Old 04-15-2011, 03:03 PM   #2
LQ 5k Club
Registered: Sep 2009
Posts: 6,443
Blog Entries: 3

Rep: Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721Reputation: 721
Don't post the same question in multiple forums. I reported this one for deletion, since the other one is in a much better location.

Here's the other duplicate thread:
Old 04-15-2011, 06:51 PM   #3
Registered: Nov 2002
Location: Kent, England
Distribution: Debian Testing
Posts: 19,192
Blog Entries: 4

Rep: Reputation: 473Reputation: 473Reputation: 473Reputation: 473Reputation: 473
Please post your thread in only one forum. Posting a single thread in the most relevant forum will make it easier for members to help you and will keep the discussion in one place. This thread is being closed because it is a duplicate.

Closed Thread

memory management

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
using libcurl in c program how can I consume webservices sushilpandey Linux - Newbie 4 02-21-2011 11:14 PM
Apache2 high memory consume Kraiser10 Linux - Software 19 11-27-2010 01:50 PM
How can I check the memory consume of kernel modules,some tools like top? snaily Linux - Newbie 0 01-16-2010 01:17 AM
Azureus to much memory consume vladoportos Debian 1 02-28-2006 06:20 PM
Applications consume huge memory amount in kernel-2.6.4 l2g Red Hat 3 04-09-2004 09:49 AM > Forums > > Member Intro

All times are GMT -5. The time now is 11:16 AM.

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