Questions related to memory usage related to RAM, swap; issues expansion, in Ubuntu.

learn more… | top users | synonyms

1
vote
1answer
90 views

Can swap be used instead of RAM?

I have an older netbook that I love. It's currently using a relatively recent version of Lubuntu. The hangup is its relatively low amount of onboard RAM: 1GB. This amount also cannot be updated as it ...
2
votes
1answer
504 views

“Inactive memory” management on Linux

One of the problems that i face to many times a week on Linux is the inactive memory management. Whenever i copy a a huge file or open a program like Matlab on my Ubuntu i notice that there is a huge ...
1
vote
0answers
100 views

Why does indicator-sound-service use so much memory?

What can it possibly be doing to require that much memory? Thanks. -Erik charm /etc/xdg/xfce4 282# cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=15.04 DISTRIB_CODENAME=vivid STAT ...
0
votes
1answer
82 views

Which system monitors are able to show me a non-rounded memory usage?

Backstory: I am trying to detect memory leaks in a program by viewing the memory used from the system monitor, and seeing if it rises while doing a certain activity. System Monitor unfortunately ...
1
vote
1answer
179 views

Ubuntu 14.04.1 is consuming 7.8 gigs of 8 gigs ram?

Actually had to create a new account due to openid 2.0 obsolete....I havent been on Askubuntu in quite awhile but tonight I was doing some work on a website when noticing my computer for once was ...
1
vote
1answer
2k views

ZRAM vs. regular swap partition

I don't fully understand the functionality and the potential advantages of zram. For example: once zram is activated, what percentage of memory will be dedicated to paging? Another issue: obviously ...
0
votes
2answers
223 views

How to allow a process to use more memory

I am trying to run a game on Steam at a decent speed. I exceed the system requirements for this game, and the game is already set to minimum graphics, but it is still running slow. I have been using ...
1
vote
2answers
99 views

What is this and how can this happen? Is this a security issue or can it be a virus?

From the last 3-4 days, my laptop has started becoming much laggy when I'm working on Android Studio or if it is just running in the background. So, today again I was working in Android Studio. My ...
1
vote
3answers
459 views

Is it safe to delete .thunderbird after removing Thunderbird?

I'm running 14.04 Server with a ~16 GB SSD and ran out of room. I was able to clean up and get some free space but Thunderbird was using 1.7 GB in my home directory in .thunderbird. I've uninstalled ...
1
vote
3answers
2k views

Freeing page cache using echo 3 > /proc/sys/vm/drop_caches doesn't work?

free -m total used free shared buffers cached Mem: 24055 22439 1615 8969 16 9096 -/+ buffers/cache: 13326 10728 ...
1
vote
0answers
2k views

Ensuring fail-safety of an Apache server

I have a few Wordpress websites running on Apache 2.4.7 / Ubuntu 14.04.2 LTS. It is a virtual machine running on Microsoft Azure. The websites are using a MySQL server also running on the same machine....
1
vote
1answer
781 views

Is ubuntu able to kill a process because of low memory and how to know it

Everything is in the title. I'm running a play framework and a redis process on my ubuntu 2GB RAM VPS but last night the 2 processes suddenly crashed without any log (which is weird because they ...
3
votes
0answers
123 views

“-/+ buffers/cache memory” is zero

i have an OpenVZ VPS with ubuntu server 14.04.2 and i can access to a SolusVM control panel. Recently, "memory usage" is always 0 KB, and only "vswap usage" shows real swap usage. if i run free -k i ...
1
vote
2answers
763 views

how to see CPU and memory usage for a program after run it

I wrote a shell script and run it with terminal.script call another programs to run and have some child process. how can i see TOTAL memory and CPU used for that script after run it ? more generaly :...
0
votes
1answer
64 views

How to free up my laptop's RAM?

I have an old DELL laptop with 2GB of RAM and Ubuntu 14.04 (64-bit) as its OS. Many times I am out of RAM and thus every thing goes very slow! I think there is many background programs (services or ...
3
votes
1answer
609 views

How to prevent running programs from consuming all RAM and CPU?

I have an annoying problem with Ubuntu's resource management. Frequently it happens that some programs such as Google Chrome browser consume 100% CPU and most of my laptops memory. I want to have a ...
1
vote
1answer
112 views

Creating a script involving the memory usage of processes

How can one create a bash script that displays the sum of memory usage for the processes which have PID<100?
0
votes
2answers
149 views

Swappiness for aggressive swapping

I want to configure the Ubuntu 14.04 with aggressive swapping behavior. I'm using Linux kernel 3.14. I modified the swappiness using the following command. echo 100 > /proc/sys/vm/swappiness ...
-4
votes
1answer
379 views

I can't use all my RAM!

I know somebody will mark this as duplicate, but I can't find the answer, so I'm asking. I have 3GB of RAM and Ubuntu says: Memory 2.9 GiB. No, it is NOT my onboard graphics card, because it uses only ...
0
votes
0answers
24 views

Increase Virtual Machine's Hard Disk Memory [duplicate]

Im running Ubuntu 12.04 in my Virtual Box. An error occurs as I copy files using the command below: sudo cp -R /dspace/webapps/* /var/lib/tomcat6/webapps This is the error : cp: cannot create ...
0
votes
2answers
261 views

Why can't my laptop use more than 85% of my RAM?

I have 1GB RAM in my notebook (HP Compaq 6735s), but the video card is using 256MB, so I'm left with 768MB RAM. However, whenever my system starts using more than 85% of memory, it becomes unusable. ...
0
votes
1answer
296 views

How to read memory usage?

Well I'm pretty confused with the memory usage in ubuntu (probably linux in general) TL;DR: Memory usage is 70%. When ich check top, htop, ps aux etc. I can see there should be a memory usage of ~10%....
0
votes
2answers
320 views

Understand free command with top command

I have a doubt. I start ubuntu and run free command. I will get the total free space available. Let say it as 100MB. Now I run a few applications. So after some time, I again run the free command. ...
1
vote
2answers
10k views

How to increase JAVA Heap Size?

I need to increase the default java heap size to get OpenNMS Linkd service running smoothly, and fortunately I have 4/5 of my total installed memory free at any given time even when their is maximum ...
2
votes
1answer
789 views

Very slow after idle for some hours in 14.04

I had 12.04 without problems, but since I upgraded to 14.04, I'm noting the system is very slow for UI tasks, and when I get to work the next day (computer stays on), and I type the passwords, it ...
1
vote
0answers
341 views

TuxOnIce hibernate error “seeking to free XXXXMB of memory” on Ubuntu 14.04

My desktop PC did not support for hibernate on Ubuntu 14.04. Therefore, I installed TuxOnIce (kernale 3.13.0-36-generic-tuxonice) to enable hibernate feature. Now, the hibernate feature works fine on ...
1
vote
1answer
1k views

mysqld is suddenly taking too much memory and my laptop is getting hotter

I have been using ubuntu 14.04 for a while but really new to linux command line stuffs. I mainly use it for Java/android/web development purposes. Sometimes I notice my laptop gets more hot than ...
0
votes
1answer
33 views

find is using a LOT of resources - how do I find out why?

My Ubuntu 12.04 LTS system has been running very slow lately. I keep having to reboot it, and then within 24 hours it's slowed down again. I've gone in and run top and what keeps coming up at the ...
2
votes
1answer
106 views

How to find out which programs are taking up alot of memory?

I've been getting messages that I have exceeded my quota limits. I am new to Linux and am not sure what to do. With windows, I could easily just go to Control panel, add/remove programs, and uninstall ...
0
votes
1answer
177 views

How do I prioritise physical memory for a particular process?

I have a process which is consuming roughly 13.5GB on a machine with 16GB running Ubuntu 14.04. The available memory according to System Monitor is 15.6GiB, of which 1.7GiB is reported as being used ...
3
votes
0answers
53 views

Is it possible to suspend applications?

The main idea is to add a "suspend" button to the title(behind the "quit" cross button) of the application window that will copy the memory taken by application to swap/local storage with pid ...
1
vote
1answer
3k views

Ubuntu 14 too high memory usage [duplicate]

I had browse for this issue in the forums, but the answers I found are not concrete or refers to older version of ubuntu. I am using ubuntu 14 (3.13.0-35-generic #62-Ubuntu x86_64 x86_64 x86_64) ...
-1
votes
1answer
51 views

Why does ubuntu not protect itself against memory shortage

If you create a very simple script, simply pointing at itself ie: /home/user/loop.sh and then executes the script in terminal (as regular user), it starts to consume more and more memory, until the ...
0
votes
1answer
75 views

RAM vs UBUNTU probem [duplicate]

I have a problem with Ubuntu's memory management. I am running 32-bit Ubuntu 13.10. My system is only running Chromium. However, when I run free -m, it returns: total used ...
0
votes
1answer
340 views

I only have 1GB of ram, what can I do to improve the performance on my 32-bit 14.04 system? [duplicate]

I'm running a fresh install of Ubuntu on an old iMac. It was going painfully slow on OSX so I wiped that and installed Ubuntu overtop of it hoping it would speed things up a bit. I'm not going to be ...
1
vote
1answer
2k views

What is the difference between free and vmstat commands?

vmstat output: procs -----------memory---------- ---swap-- -----io---- -system-- ----cpu---- r b swpd free buff cache si so bi bo in cs us sy id wa 1 1 0 1001568 84736 ...
0
votes
2answers
19k views

What swapfile size to make? I have 4GB RAM [duplicate]

Very often I am out of memory and I noticed that I didn't have swapfile... What size should I choose? I have 4 RAM. All programs which I use are: Firefox, Thunderbird, Grive, Android Studio, that's ...
1
vote
2answers
98 views

How can I reduce the memory

How can I reduce the memory allocated for a given program from the terminal? what I mean is if I have a a.out executable file, how can I make it run in a less memory from the terminal ( with out ...
5
votes
1answer
989 views

How to set a memory limit for a specific process?

I tried to execute mpiexec -16 ... on a 384 GB RAM server, but it induced OOM Killer and was aborted. How can I set a memory limit for mpiexec execution? I know ulimit, but it might affect other ...
1
vote
1answer
5k views

Why does ubuntu not seem to release memory?

I am working with apache2+php and other web server apps. I have monitor as session connecting to a web server. RAM memory is full. But when disconnecting a session, it does not free the RAM memory. ...
0
votes
2answers
176 views

Can't find where memory is being used

I'm still a novice with Ubuntu, and have converted an old Toshiba L655D to use the OS. I have 3gb of memory installed, and this appears on on the GRUB memtest. But within Ubuntu, looking at free -m ...
1
vote
1answer
83 views

ubuntu server crash after build.sh run

I have a build server with Ubuntu. And in my source code there is typical build.sh to invoke the make file in order to compile the source code. But suddenly the server crashed and I found the below ...
0
votes
1answer
10k views

How to clean up dev/sda1 as it's full

I've been doing jmeter tests and have had a few OutOfMemoryExceptions, so I've bumped up the heap memory in JMeter. But now it seems I can't run anymore tests as it says I'm using 94.9% of 14Gb. When ...
1
vote
3answers
1k views

Like “PerfMon” in Windows do we have something similar in Ubuntu?

If I want to capture performance log of a Ubuntu (or any other Linux Distro) Server/Workstation for a period of time, how would I do that? In Windows, I use something called PERFMON.MSC (LOGMAN.EXE), ...
0
votes
1answer
436 views

chrome memory and cpu footprint

I've searched the forums for an answer but I couldn't find quite the answer I was looking for [1] , so I thought I it could as well be of interest to more people around here. I carry out a big part ...
2
votes
0answers
104 views

Weird java memory allocation

My task manager shows that for my java process memory allocated is 16777216.0 TB (yep, TB). It happens when programming swing application with eclipse 3.8. Oh, and my distro is lubuntu 14.04. Nothing ...
7
votes
2answers
330 views

Why do top and lxtask show different degrees of memory usage?

Why does top show 730MB of RAM used, but the "Task Manager" shows 190MB? Some more information on my system: Lubuntu 14.04 VirtualBox Screenshots:
2
votes
1answer
3k views

Rsync - memory usage

I am running on Xubuntu 14.04 and experiencing high memory usage of rsync. With a fresh start, the system is OK. I have rsync running in a cronjob, after/during rsync memory usage increases and stays ...
1
vote
2answers
359 views

why is all my memory used up less than 24 hours after reboot?

Running Ubuntu Server 12.04, meminfo shows pretty much all memory utilized: $ cat /proc/meminfo MemTotal: 8173180 kB MemFree: 139556 kB Buffers: 1146204 kB Cached: ...
0
votes
1answer
72 views

Ubuntu 12.04 LTS doesn't recognize full memory?

I have Pentium 4 Desktop, Intel D915PGN mother board with a full 4 GB of ram, but my Ubuntu 12.04 64 bit only recognize 3 GB of ram, do you guys have any suggestion? Thank you