Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - General
User Name
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.


  Search this Thread
Old 05-09-2006, 01:02 AM   #1
LQ Newbie
Registered: Apr 2006
Posts: 3

Rep: Reputation: 0
The used memory of application is increasing. Free space decreasing. Help needed.

I am developing one application on FEDORA core 2 as well as on RED HAT 9: K2.4, in which I am statically allocating the variables, which I am calling externally throughout the application.
I am using a RAM of 256MB. The total size of the disk I am using is 512MB(flash disk). On which I am using the swap memory of 150mb. The size of my application is 9.5MB. When I am running the application, the size of the application under execution increases and thus the memory consumption is much more. The free memory decreases. And after certain point, the complete OS hangs. For the proper functioning of my application I have to reboot the machine directly.
I am ascertained about the slab allocator and thus there is no any issue to point out from the operating side. There is some problem in my application but I am not able to trace it. Please help me with the generalize as well as specific solutions. Plz do the needfull asap..........
Old 05-09-2006, 01:16 AM   #2
Senior Member
Registered: May 2004
Location: In the DC 'burbs
Distribution: Arch, Scientific Linux, Debian, Ubuntu
Posts: 4,284

Rep: Reputation: 371Reputation: 371Reputation: 371Reputation: 371
I'd suggest using a memory debugger such as Valgrind or Electric Fence. it's clear that you have a memory leak somewhere in your code, and these programs can help you track it down.


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 On
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
free() does not clear memory space in LINUX xinminhua Programming 32 08-18-2006 04:43 PM
Linked list free memory space at the end cdog Programming 12 04-17-2006 09:25 AM
Not enough free space on hard drive with 50g of free space??? auoq SUSE / openSUSE 5 10-13-2004 09:21 PM
Increasing swap space rupesh_pulikool Linux - Networking 1 09-12-2004 11:40 PM
Formating free space: WinXP pro and RH9 dualboot with free space on 3rd drive Vermicious Linux - General 2 03-22-2004 06:10 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:57 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