Memory-waste in Ubuntu/Debian?


 
Thread Tools Search this Thread
Top Forums UNIX for Dummies Questions & Answers Memory-waste in Ubuntu/Debian?
# 1  
Old 03-04-2006
Memory-waste in Ubuntu/Debian?

I have 512 mem on this laptop, though 'top' tells me I only have 380. However, Ubuntu is using 288 mb of memory, when I only have 3 terminals, running lynx, vim(for this file) and (of course) top. Considering it I have lynx running a 600 page txt file, which of course would eat some memory but 300? And even worse when i start X. Let's try it. First I reboot since she's been up a couple of hours.

Before X is launched:

Mem: 385812k total, 178516k used, 207296k free, 8700k buffered

Staring at the buffered memory for one minute it's now increased to 8852.
Used mem has also increased to 178888. 300 k on two lines.
(That's probably the two most expensive ascii-lines I've ever seen.)

After X is launched: (mem already at: used: 179260 and buff: 9388)

Mem: 385812k total, 264612k used, 121200k free, 13604k buffered
That's about 80 meg. Starting timer.
13:12:30 (with the above memory)

13:17:30 (five minutes later)
Mem: 385812k total, 265356k used, 120456k free, 14144k buffered

That's another 5 meg memory used. For just staring at the 'top' program.
In two hours I'll run out of memory! What's happening behind the scenes?

Before i rebooted I checked my free memory after starting X.
It went down to 35 meg. It'd been up for 3-3.5 hours running a 600+ page txt file in lynx.

Regards
Richard

(Mem is now (13:27:00) used: 266852 free: 118960 buff: 15220
A lot less in ten minutes than in five... Hmmm...)
 
Login or Register to Ask a Question

Previous Thread | Next Thread

5 More Discussions You Might Find Interesting

1. Linux

What is the lightest distro for using Debian/Ubuntu softwares

Which distro uses lowest system resource (when installed on hard_disk/usb.) where I can install software from Debian OR Ubuntu repository? I found Quelitu which is based on Lubuntu, but uses less memory as given on their site. There are lighter distros but most of them are based on Slackware. I... (0 Replies)
Discussion started by: iripu
0 Replies

2. Solaris

Video capture and editing on Solaris vs Debian vs Ubuntu

I am interested in doing some heavy video work. I have a ADVC 110 Video capture device, which I am using to capture VHS video tapes, which I will convert on the server to DVD format and burn to DVD's using DVD production software. I will also take the captured video file and split it up in parts... (1 Reply)
Discussion started by: Marcus Aurelius
1 Replies

3. UNIX for Advanced & Expert Users

free memory in debian linux

hi- im running glassfish 3.1 on debian server and there are times where I need to start the domain when we cannot access the web application. I checked the memory and it's confusing me. Am i still ok? can you explain the below? USER PID %CPU %MEM VSZ RSS TTY STAT START TIME... (1 Reply)
Discussion started by: lhareigh890
1 Replies

4. SuSE

ubuntu to pure debian

ok, im going to start off by saying i am a newbee so some of the stuff i say may not be right. but anyways, right now i am using ubuntu hardy for my main distrobution. i love it and all, but the main reason i switched to linux (besides drm and the blue screen i see on my comp about ten times a... (13 Replies)
Discussion started by: Texasone
13 Replies

5. Ubuntu

Debian (ubuntu) file problem after ftp

Hi, I am using Debian (ubuntu). whenever I ftp file from Windows to Debian, the file is being shown as DOS while editing in vi. The control characters are not visible and I couldn't remove the '^M' character. So please help me how to make it Linux specific file to use it for Linux specific tasks. (4 Replies)
Discussion started by: royalibrahim
4 Replies
Login or Register to Ask a Question
SYNCPACKAGE(1)						      General Commands Manual						    SYNCPACKAGE(1)

NAME
syncpackage - copy source packages from Debian to Ubuntu SYNOPSIS
syncpackage [options] <.dsc URL/path or package name> DESCRIPTION
syncpackage causes a source package to be copied from Debian to Ubuntu. syncpackage allows you to upload files with the same checksums of the Debian ones, as the common script used by Ubuntu archive administra- tors does, this way you can preserve source files integrity between the two distributions. syncpackage will detect source tarballs with mismatching checksums, and can perform fake syncs. WARNING
The use of syncpackage --no-lp, which generates a changes file to be directly uploaded to the Ubuntu primary archive or a PPA, is discour- aged by the Ubuntu Archive Administrators, as it introduces an unnecessary window for error. This only exists for backward compatibility, for unusual corner cases (such as fakesyncs), and for uploads to archives other than the Ubuntu primary archive. Omitting this option will cause Launchpad to perform the sync request directly, which is the preferred method for uploads to the Ubuntu primary archive. OPTIONS
-h, --help Show help message and exit -d DIST, --distribution=DIST Debian distribution to sync from. Default is testing during LTS cycles, and unstable otherwise. -r RELEASE, --release=RELEASE Specify target Ubuntu release. Default: current development release. -V DEBVERSION, --debian-version=DEBVERSION Specify the version to sync from. -c COMPONENT, --component=COMPONENT Specify the component to sync from. -b BUG, --bug=BUG Mark a Launchpad bug as being fixed by this upload. -s USERNAME, --sponsor=USERNAME Sponsor the sync for USERNAME (a Launchpad username). -v, --verbose Display more progress information. -F, --fakesync Perform a fakesync, to work around a tarball mismatch between Debian and Ubuntu. This option ignores blacklisting, and performs a local sync. It implies --no-lp, and will leave a signed .changes file for you to upload. -f, --force Force sync over the top of Ubuntu changes. --no-conf Do not read any configuration files, or configuration from environment variables. -l INSTANCE, --lpinstance=INSTANCE Launchpad instance to connect to (default: production). --simulate Show what would be done, but don't actually do it. LOCAL SYNC PREPARATION OPTIONS
Options that only apply when using --no-lp: --no-lp Construct sync locally, rather than letting Launchpad copy the package directly. It will leave a signed .changes file for you to upload. See the WARNING above. -n UPLOADER_NAME, --uploader-name=UPLOADER_NAME Use UPLOADER_NAME as the name of the maintainer for this upload instead of evaluating DEBFULLNAME and UBUMAIL. This option may only be used in --no-lp mode. -e UPLOADER_EMAIL, --uploader-email=UPLOADER_EMAIL Use UPLOADER_EMAIL as the email address of the maintainer for this upload instead of evaluating DEBEMAIL and UBUMAIL. This option may only be used in --no-lp mode. -k KEYID, --key=KEYID Specify the key ID to be used for signing. --dont-sign Do not sign the upload. -d DEBIAN_MIRROR, --debian-mirror=DEBIAN_MIRROR Use the specified mirror. Should be in the form http://ftp.debian.org/debian. If the package isn't found on this mirror, syncpack- age will fall back to the default mirror. -s UBUNTU_MIRROR, --debsec-mirror=UBUNTU_MIRROR Use the specified Debian security mirror. Should be in the form http://archive.ubuntu.com/ubuntu. If the package isn't found on this mirror, syncpackage will fall back to the default mirror. ENVIRONMENT
DEBFULLNAME, DEBEMAIL, UBUMAIL Used to determine the uploader (if not supplied as options). See ubuntu-dev-tools(5) for details. All of the CONFIGURATION VARIABLES below are also supported as environment variables. Variables in the environment take precedence to those in configuration files. CONFIGURATION VARIABLES
The following variables can be set in the environment or in ubuntu-dev-tools(5) configuration files. In each case, the script-specific variable takes precedence over the package-wide variable. SYNCPACKAGE_DEBIAN_MIRROR, UBUNTUTOOLS_DEBIAN_MIRROR The default value for --debian-mirror. SYNCPACKAGE_UBUNTU_MIRROR, UBUNTUTOOLS_DEBSEC_MIRROR The default value for --ubuntu-mirror. SYNCPACKAGE_KEYID, UBUNTUTOOLS_KEYID The default value for --key. SEE ALSO
requestsync(1), ubuntu-dev-tools(5) AUTHOR
syncpackage was written by Martin Pitt <martin.pitt@canonical.com> and Benjamin Drung <bdrung@ubuntu.com>. This manual page were written by Luca Falavigna <dktrkranz@ubuntu.com> Both are released under GNU General Public License, version 3. ubuntu-dev-tools June 2010 SYNCPACKAGE(1)