LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Non-*NIX Forums > General > LinuxQuestions.org Member Intro
User Name
Password
LinuxQuestions.org Member Intro New to LinuxQuestions.org? Been a long time member but never made a post? Introduce yourself here.

Notices

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

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


Hi,

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.

Jack

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

Rep: Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714Reputation: 714
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:

http://www.linuxquestions.org/questi...-memory-875224
 
Old 04-15-2011, 07:51 PM   #3
XavierP
Moderator
 
Registered: Nov 2002
Location: Kent, England
Distribution: Lubuntu
Posts: 19,176
Blog Entries: 4

Rep: Reputation: 430Reputation: 430Reputation: 430Reputation: 430Reputation: 430
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

Tags
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-22-2011 12:14 AM
Apache2 high memory consume Kraiser10 Linux - Software 19 11-27-2010 02:50 PM
How can I check the memory consume of kernel modules,some tools like top? snaily Linux - Newbie 0 01-16-2010 02:17 AM
Azureus to much memory consume vladoportos Debian 1 02-28-2006 07:20 PM
Applications consume huge memory amount in kernel-2.6.4 l2g Red Hat 3 04-09-2004 10:49 AM


All times are GMT -5. The time now is 09:44 AM.

Main Menu
Advertisement
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