Ubuntu :: How To Reclaim Leaked Memory

Oct 7, 2010

I'm using a program somewhere that is leaking memory. I think it is handbrake but I can't be certain. Even after terminating the programs (I have three instances ripping DVD's simultaneously) there is still a lot of memory not accounted for. (memory used is a gig or so more than the total used by the processes listed)Is there any way I can reclaim that memory please? Some form of memory flushing system? I've searched but I can't find anything.

View 4 Replies


ADVERTISEMENT

Programming :: Physical Memory Leaked By User Application Process Is Not Reclaimed Back After Exit?

May 2, 2010

Whenever I'm running my application process, I've 1M physical memory usage is increasing for every 2 hours.This I observed using 'free -m' command.But 'top' command did not showing any increase 'RSS' size.It is same as it was started initially.Even though I stopped my process,the increased memory was not released back. If I start my application process then again memory usage start increasing by 1M for every 2 hours. increase of memory usage observer with 'free' and that too when my application is running, but top command is not showing any change in the RSS sizeIf my application is leaking any memory which is allocated by new/malloc, that should be released back whenever my application exit and the size increase will be show through top command for that process, right? This is not happeningThis proves that there is no potential leaks in my process.But why physical memory is increasing when only my process is running?

View 14 Replies View Related

Ubuntu :: Reclaim My Missing Disk Space?

Aug 18, 2010

I started getting this warning that my Home partition disk space was running low, so I ran a disk space analyzer which only told me that I was using about 650 MB. Since I had 5 GB allocated to the home partition, I knew that something was not right. After manually going through all of the primary subdirectories on home, I found the culprit, namely an unexecuted game installation directory taking up about 4.5 GB. So I deleted the files, but then I didn't get my disk space back. I rebooted, no change. I ran this program called sfill, part of Secure Delete, which is supposed to wipe the directory 38 times and totally clean everything off. Still, no change. Any ideas how to reclaim my disk space?

View 1 Replies View Related

Ubuntu Installation :: Reclaim Space Taken By Wubi?

Oct 2, 2010

After using wubi, it's taken around 80GB off of an NTFS drive. The drive is now in an external USB enclosure, how do I reclaim the space? Windows XP's partition software, Partition Magic, and even Mount Manager on my laptop running Leeenux all see the drive as being smaller than it started out, the partitions created by wubi are invisible to them.

View 1 Replies View Related

Ubuntu :: How To Reclaim The 82gig Of Disk Space 9.10 Is On?

Feb 5, 2011

I have Ubuntu 9.10 and 10.10 dual booted on the system, I needed data from the 9.10 available to move to the 10.10. How do I reclaim the 82gig of disk space the 9.10 is on? the 9.10 is FUBAR and I can't get into it.

View 1 Replies View Related

Hardware :: How To Reclaim Device Name After Malfunction

Aug 14, 2009

Sometimes when I hotplug a SATA device to/from say /dev/sdb, it malfunctions/times out, and cannot be detected. Then when I plug in another SATA device, it gets detected as /dev/sdc even though /dev/sdb is no longer there. How can I reclaim /dev/sdb in this case?

View 5 Replies View Related

General :: How To Reclaim Original Disk Space (Misused)

Jul 10, 2010

I wanted, on my laptop, to clone a 60GB HDD into a 500GB HDD using clonezilla (Parted Magic live cd). So I used the option disk2image, create the image file to an USB Drive. Everything was fine, I get my image file on that ext HDD. After I change the HDD on my laptop for the brand new 500GB but I think I make a mistake when restoring the image file using image2disk instead of image2partition. Now my 500gb is recognised as a 60GB hdd on gparted. How can I reclaim original HDD space on my 500GB?

View 7 Replies View Related

Debian :: Hard Disk / Reclaim Its Full Capacity Under Windows?

Dec 9, 2010

I have a single PC that has two hard disks in it. One is 250GB running Debian linux; the other 1TB running windows. I was switching between the two by going to the BIOS and changing the order of the hard disks to boot from. Both lived happily together in peaceful co-existance. Until....

Lately, I haven't been using Linux, so I decided to convert the 250GB to windows. So I put in the windows install CD, and it all started working fine, but when it came down to setting up a partition, Windows only recognized 130GB (out of the 250GB). I got confused so I decided to re-install linux. Linux recognizes the full 250GB; it recognized that there is a second hard disk running a different OS so the grub gave the option to boot from windows. So after a couple of reboots from both drives I decided to go ahead and install windows on the 250GB. Well again, windows only recognized 130GB, but this time, windows showed me another hard disk again with 130GB capacity. Apparently I stupid enough to proceed so now both hard disks - the 250GB and the 1TB - have capacity of 130GB each. And this is where I'm stuck.

I have tried fdisk, I have tried debug, but for some reason, windows can only recognize 130GB out of the entire disks; linux on the other hand recognizes the full capacity. I also used the seagate disk diagnostic tool (seatools for MS DOS) and it found no errors on either hard disk.

How can I reclaim the full capacity under windows?

View 4 Replies View Related

SUSE / Novell :: How To Reclaim Partitions Grabbed By Failed Install

Jul 3, 2009

How to recover from a failed OpenSUSE install. The situation is that I have a striped RAID set up on two 500Gb drives running Windows. I wanted a dual boot setup, and I tried to install OpenSUSE but it failed with a Grub error 18. This, I understand, is caused by my BIOS not being able to access the part of the drive with the /boot on. Because I have two 500 Gb disks, the OpenSUSE /boot partition is beyond the BIOS's addressing range.

The recommended solution seems to be to put the /boot at the start of the HDD - but then I'd need to move Windows after it somewhere. But I don't know how to do that and it seems a risky, longwinded business. I've given up on the OpenSUSE install. My problem is that the failed install has grabbed about half of the diskspace for its purposes. Question therefore is: how can I reclaim that space for Windows?

View 1 Replies View Related

Software :: GParted Device Naming Order - Reclaim Unused Space From One Of The Partitions In The Middle /dev/sda7

Dec 22, 2010

I have logical partitions on my drive numbered /dev/sda5 through /dev/sda14.I want to reclaim unused space from one of the partitions in the middle /dev/sda7. First I intend to resize /dev/sda7 by leaving the beginning of the partition as is and shrinking the end to create some unallocated space between /dev/sda7 and /dev/sda8. Then I would like to create a new logical partition in this unallocated space. My question is what will be the device name of the newly created logical partition? Will it be /dev/sda15 (I hope)? Or will it be /dev/sda8 and all partitions after this be renamed?

The GParted manual states that if a partition is deleted, all of the following partitions will be renamed, but it doesn't say anything specifically about renaming partitions after adding a new partition in the middle of a partition table.

View 1 Replies View Related

General :: Ubuntu - Memory Full, Process Memory Usage Doesn't Add Up In Top?

Mar 18, 2011

I have a computer with 16GB of ram. At the moment, top shows all the RAM is taken, (NOT by cache), but the RAM used by the various processes is very far from 16GB.I have seen this problem several times, but I don't understand what is happening.My only remedy so far has been to reboot the machine.

View 1 Replies View Related

Ubuntu :: Memory Error When Installing Python - Cannot Allocate Memory

Apr 19, 2010

I get this error when I run "sudo apt-get install python-software-properties"

Preconfiguring packages ...
dpkg: unrecoverable fatal error, aborting:
fork failed: Cannot allocate memory
E: Sub-process /usr/bin/dpkg returned an error code (2)

I'm trying to install deluge via ssh and my vps has 512mb ram and is only using 11% of it prior to running the code.

View 2 Replies View Related

Ubuntu :: Memory Leak / Some Process Eating All Memory

Jan 29, 2011

I have had a fresh install of Ubuntu 9.10 and installed some software after that.Since third some, some process is eating half of my memory.I have checked processes running in system manager but everything is normal.Maximum is consumed by compiz which is about 26 mb, seems very normal.I did restarted my computer several times, and in the start for 5 mins, its fine after that again my cpu fans runs at very fast speed and my one cpu is used up 95 % (I have dual core).Please help me out, this invisible thing is driving me crazy.I am attaching my htop screen shot (sorted by cpu %), now the cpu is not used by completely but fan is still struggling hard and fast.

View 9 Replies View Related

General :: Application Virtual Address Space Memory Allocation - Memory Does Not Get Free

Apr 20, 2010

I am using malloc and frees a lot in my program. It shows its allocated but when i remove it doesnt show as the memory is removed(I am using the top command to view VIRT memory usage). If this continously grows what would happen to my program (Will it go out of memory?)

View 4 Replies View Related

Fedora Hardware :: Checking Computer Memory - Specification Shows 2 GB Of Memory Instead Of GB

Feb 7, 2011

Fedora 14 xfce
HP Mini 210

I am looking to buy some memory for my netbook. Currently I have 1 GB of DDR3 memory. However, the specification says that 2 GB of memory is the max. However, when I do the following it says that 4GB is the max:

[Code].....

View 3 Replies View Related

Server :: Clear Cache Memory ( RHEL 5.1 ) As It Consumes Almost 100% Physical Memory?

Jan 11, 2010

let me know how to clear cache memory ( RHEL 5.1 ) as it consumes almost 100% physical memory.

View 3 Replies View Related

Software :: Free Database That Has Low Memory Usage And Innodb And Memory Like Engin

May 3, 2011

I am looking for free database that has low memory usage and innodb and memory like engins that has C API and support trigger and client/server support for using in embedded linux systems.

View 8 Replies View Related

Programming :: Memory Leaks - Glibc Detected - ./SuffixTree: Malloc() - Memory Corruption - 0x00

Mar 21, 2011

I am new to C and linux. My code below does arbitary writes but I cant figure out where or how it does it.

I am calling the insertNode() function with seq = 'MISSISSPPI$' and alphabets = 'ABCDEFGHIJKLMNOPQRSTUVWXYZ$'

Code:

Weird behaviour I should mention is that when I check for NULL pointer in node->child[index], the unassigned values are not null anymore, they point to arbitary memory.

View 12 Replies View Related

OpenSUSE Install :: Virtual Memory / Resident Memory Of Server?

Feb 3, 2010

we found that if we use 'top' to show the memory usage of a server (SuSe Linux 10), we can get virtual memory usage as well as 'Resident memory' usage. For virtual mem or a particular process, it is around 1.1GB, which is large but for resident memory, it only consumes 300MB. Are there anyone who knows what the differences are? I would also like to know whether the difference (1.1GB - 300MB) = 800MB are actually available for use by other applications in the system.

View 1 Replies View Related

Programming :: Write A Script That Can Show Me Total Memory Vs Used Memory?

Apr 13, 2010

How do I write a script for my Linux that can show me total memory vs used memory and have it email me results if it's over 70 percent?

View 2 Replies View Related

Hardware :: Why Dmesg / Grep Memory Gives Two Different Physical Memory Amounts

Oct 20, 2010

I am monitoring physical memory in a server I administer, and my hardware provider told me they had increased physical memory size to 4Gb... However, using several tools (free -m; top; dmesg | grep Memory; grep MemTotal /proc/meminfo I discovered that I actually have 3Gb, not 4... But, my doubt comes from the fact that dmesg | grem Memory tells me I have 3103396k/4194304k available The first number is effectively 3Gb, but the second one, is 4! so, why I am looking at this two different numbers?

View 1 Replies View Related

Software :: Accessing Memory Address Outside Standard Memory

Nov 22, 2009

I am writing an application that wants to access periphals registers outside the standard (allowed) memory area.

Doing so gets me "segmentation fault".

I know, this is natural behaviour.

One way of getting around this is writing the module which has to be loaded by linux. I will consider this some time later.

For now, I want to come to some quick result and allow linux or gcc compiler to write to those memory areas of periphals. Is there a direct way to do so?

View 3 Replies View Related

Programming :: SHM Memory Counted As Cache Memory With Kernel 2.6.18?

Aug 25, 2010

Is that possible that SHM shared memory is counted as cache memory on Linux with kernel 2.6.18?If find it really odd since this memory is not file backed, but I have a piece of code that loads data using shm_open+mmap, and it generates an amount of cache memory in /proc/meminfo that corresponds exactly to the amount of shared memory (I load that data from a file but I am using posix_fadvise(fd,0,0,POSIX_FADV_DONTNEED) to ensure this file is not cached and I made sure that it is working as expected). As far as I know SHM memory was not tagged as cache memory with kernel 2.6.9.If it is the case it is really unfortunate since normally cache memory can be considered to be part of the "available" memory since it can be flushed promptly but this is clearly not the case with SHM memory... Is there an easy way to get the total amount of used SHM memory on a system?

View 4 Replies View Related

General :: Memory Corruption Detected In Low Memory

Aug 22, 2010

This is my first post in these forums. I'm still quite new to Linux (using Mint 9) so please bear with my not-very-articulate question(s)When I boot up and open up a tty terminal I get a message saying "Memory corruption detected in low memory." I've done an extensive google search about the issue and it seems not uncommon. I ran a memtest with no errors returned, so I'm sure that there's nothing really wrong with the memory; apparently it's a bug in the kernel that's causing this.

View 2 Replies View Related

General :: Top Used Memory Versus Ps Processes Memory

Jan 17, 2010

I found from command 'top' that 8GB memory are used. However, using command 'ps' with some options to grep the running processes and then summing up the memory used by the running processes are less than 2 GB. Where has the used memory gone ?

View 7 Replies View Related

Server :: SFTP Memory Error / Getting An Out Of Memory?

Jan 8, 2011

I have been setting up a vps I got out with bhost.net, with CentOS installed. I've been learning and have set up everying I need with the exception of ftp/sftp.

Using yum I installed vsftpd and ran into problems, thinking it was something I might of done I did a fresh install of CentOS and I still recieve the same problem on a fresh install so it is nothing I have done to the server.

The problem is when connecting via a sftp client I get an out of memory error. This error is listed in the putty faq ( url ) under A.7.5, there is a brief explaintion of the cure under A.7.6.

there is mention of a login script but I don't know where this is located. I'm a novice at Linux but by no means incompotent when it comes to computing.

View 5 Replies View Related

Server :: Having A Query Regarding Top And Virtual Memory - VIRT Mem More Than Actual Available VIRT Memory

May 4, 2010

I have a query regarding top & virtual memory. When we run top it show VIRT (Virtual Mem), RES (Resident Mem) & SHR (Shared Memory). The total virtual memory of my machine is 4 GBs (2 GB RAM + 2 GB Swap), but still I am able to see a process showing 4000m virtual memory column. what it means, as its show VIRT Mem more than actual available VIRT memory

View 1 Replies View Related

OpenSUSE :: Open Files From Memory Stick The Memory Stick Is Not Available?

Mar 21, 2011

When I start bluej and try to open files from my memory stick the memory stick is not available. Is there any way that I can open files directly in bluej from my memory stick.

View 3 Replies View Related

Ubuntu :: 10.04 Using Too Much Memory?

Jul 20, 2010

I'm running 10.04 on a machine with 512 MB of RAM and a 3.2Ghz processor. Without any programs open, memory usage is around 350 out of 500 MB, or, around 70% of total memory.

I was previously running 9.04, but upgraded to get the long term support. Although I don't have it installed now, and didn't write it down, I'm sure 9.04 used much less memory, and it certainly felt a lot faster when opening and using applications.

Is it normal for Ubuntu 10.04 to be using this much memory, and if so, what are some things I can do to reduce memory consumption?

Reading Wikipedia, it says Ubuntu only uses 128 MB of RAM.

By the way, here is a screenshot: [URL]

View 9 Replies View Related

Ubuntu :: Memory Use 8.04 Vs 9.10

Jun 14, 2010

Does anyone know why Ubuntu 8.04 consumes about 100MB more RAM at idle compared to 9.10?

Is this something to do with the Hardy Heron GUI, processes switched on/off, or a redesign?

View 2 Replies View Related







Copyrights 2005-15 www.BigResource.com, All rights reserved