SEARCH

Enter your search query in the box above ^, or use the forum search tool.

You are not logged in.

#1 2013-01-17 02:58:29

raedov
New Member
Registered: 2013-01-14
Posts: 5

High Memory Usage

hello guys

CrunchBang it's really great and fast distro , But I have a problem , I have been having issues with high memory usage reach to 10.5 GB , and i run only dropbox see the pic please

I installed CrunchBang 11 - 64 bit

Screenshot01172013054159AM.png

┌─[raedov]──[nixi]: Welcom *_* Thu Jan 17 05:50 AM ~ $
└──>>free -m
             total       used       free     shared    buffers     cached
Mem:         11926      11294        631          0       2210       8070
-/+ buffers/cache:       1014      10911
Swap:         5129          0       5129

here is my PC specifications

Cpu : Intel® Core™ i3 2120 Processor (3.3GHz, 3M)
Ram : 12 GB ddr3

lspci
00:00.0 Host bridge: Intel Corporation 2nd Generation Core Processor Family DRAM Controller (rev 09)
00:02.0 VGA compatible controller: Intel Corporation 2nd Generation Core Processor Family Integrated Graphics Controller (rev 09)
00:16.0 Communication controller: Intel Corporation 6 Series/C200 Series Chipset Family MEI Controller #1 (rev 04)
00:19.0 Ethernet controller: Intel Corporation 82579LM Gigabit Network Connection (rev 04)
00:1a.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #2 (rev 04)
00:1b.0 Audio device: Intel Corporation 6 Series/C200 Series Chipset Family High Definition Audio Controller (rev 04)
00:1c.0 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 1 (rev b4)
00:1c.2 PCI bridge: Intel Corporation 6 Series/C200 Series Chipset Family PCI Express Root Port 3 (rev b4)
00:1d.0 USB controller: Intel Corporation 6 Series/C200 Series Chipset Family USB Enhanced Host Controller #1 (rev 04)
00:1e.0 PCI bridge: Intel Corporation 82801 PCI Bridge (rev a4)
00:1f.0 ISA bridge: Intel Corporation Q65 Express Chipset Family LPC Controller (rev 04)
00:1f.2 SATA controller: Intel Corporation 6 Series/C200 Series Chipset Family SATA AHCI Controller (rev 04)
00:1f.3 SMBus: Intel Corporation 6 Series/C200 Series Chipset Family SMBus Controller (rev 04)

Offline

Help fund CrunchBang, donate to the project!

#2 2013-01-17 03:27:55

JLloyd13
#! Member
Registered: 2012-08-08
Posts: 83

Re: High Memory Usage

total       used       free     shared    buffers     cached
Mem:         11926      11294        631          0       2210       8070
-/+ buffers/cache:       1014      10911
Swap:         5129          0       5129


this info says it all. Your PC is only using 1 GB, the other 10 is cached (this means it is stuff you closed, still in mem so that if you open latter it will open from ram and there for faster) it's not active and will be cleared if you need it for active apps. Whats funny is how conky is reading it. it should be reading non-cached memory. Mind posting your config?

Last edited by JLloyd13 (2013-01-17 03:29:36)

Offline

#3 2013-01-17 15:54:15

snowpine
#!-a-roo
Registered: 2008-11-24
Posts: 2,982

Re: High Memory Usage

linuxatemyram.com


/hugged

Offline

#4 2013-01-17 20:43:14

fatmac
#! Die Hard
Registered: 2012-11-14
Posts: 1,948

Re: High Memory Usage

Linux will cache programs that you have/had started in a session so that they load quickly if you reuse them.

Running programs will always be given all the ram they need, & if that runs out because you have lots of running programs, it will use swap.


Linux since 1999
Currently:  AntiX, & Crunchbang.
A good general beginners book for Linux :- http://rute.2038bug.com/index.html.gz
A good Debian read :- http://debian-handbook.info/get/now/

Offline

#5 2013-01-17 23:05:33

raedov
New Member
Registered: 2013-01-14
Posts: 5

Re: High Memory Usage

JLloyd13 wrote:

total       used       free     shared    buffers     cached
Mem:         11926      11294        631          0       2210       8070
-/+ buffers/cache:       1014      10911
Swap:         5129          0       5129


this info says it all. Your PC is only using 1 GB, the other 10 is cached (this means it is stuff you closed, still in mem so that if you open latter it will open from ram and there for faster) it's not active and will be cleared if you need it for active apps. Whats funny is how conky is reading it. it should be reading non-cached memory. Mind posting your config?

aha i see , u mean there is a problem with conky config ?
here is my conky config

# conky configuration
#
# The list of variables has been removed from this file in favour
# of keeping the documentation more maintainable.
# Check http://conky.sf.net for an up-to-date-list.
#
# For ideas about how to modify conky, please see:
# http://crunchbanglinux.org/forums/topic/59/my-conky-config/
#
# For help with conky, please see:
# http://crunchbanglinux.org/forums/topic/2047/conky-help/
#
# Enjoy! :)
##############################################
# Settings
##############################################
# Use Xft?
use_xft yes
xftfont mono:size=10
xftalpha 0.8
text_buffer_size 2048

# Update interval in seconds
update_interval 1

# This is the number of times Conky will update before quitting.
# Set to zero to run forever.
total_run_times 0

# Create own window instead of using desktop (required in nautilus)
own_window yes
own_window_transparent yes
own_window_type desktop
own_window_hints undecorated,below,sticky,skip_taskbar,skip_pager

# Use double buffering (reduces flicker, may not work for everyone)
double_buffer yes

# Minimum size of text area
minimum_size 250
#maximum_width 300

# Draw shades?
draw_shades no

# Draw outlines?
draw_outline no

# Draw borders around text
draw_borders no

# Draw borders around graphs
draw_graph_borders yes

# Stippled borders?
stippled_borders 0

# border margins
border_margin 1

# border width
border_width 0

# Default colors and also border colors
default_color white
#default_shade_color black
#default_outline_color black
own_window_colour white

# Text alignment, other possible values are commented
#alignment top_left
alignment top_right
#alignment bottom_left
#alignment bottom_right

# Gap between borders of screen and text
# same thing as passing -x at command line
gap_x 15
gap_y 30

# Subtract file system buffers from used memory?
no_buffers no

# set to yes if you want all text to be in uppercase
uppercase no

# number of cpu samples to average
# set to 1 to disable averaging
cpu_avg_samples 2

# number of net samples to average
# set to 1 to disable averaging
net_avg_samples 2

# Force UTF8? note that UTF8 support required XFT
override_utf8_locale yes

# Add spaces to keep things from moving about?  This only affects certain objects.
use_spacer none

TEXT
${alignc}${time %A, %B %d, %Y}

${color}APT: ${alignr}${execi 3600 ~/bin/debupdates} ${color}Updates Available

${color}System ${hr 2}
${color}$nodename
${color}${pre_exec lsb_release -i -s}
${color}Release: ${pre_exec lsb_release -r -s} (${pre_exec lsb_release -c -s})
${color}Kernel $sysname $kernel

${color}Resources ${hr 2}
${color}CPU1 ${cpu cpu1}%${alignr}${color ff6e00}${cpubar cpu1 10,75}
${color}CPU2 ${cpu cpu2}%${alignr}${color ff6e00}${cpubar cpu2 10,75}
${color}CPU3 ${cpu cpu3}%${alignr}${color ff6e00}${cpubar cpu3 10,75}
${color}CPU4 ${cpu cpu4}%${alignr}${color ff6e00}${cpubar cpu4 10,75}
${color}Mem  ${mem}/${memmax}${alignr}${color ab1852}${membar 10,75}
${color}Receiving ${downspeedf eth0} KB/s ${alignr}${color 2d7db3}${downspeedgraph eth0 10,75}
${color}Sending   ${upspeedf eth0} KB/s ${alignr}${color 844798}${upspeedgraph eth0 10,75}

${color}File Systems ${hr 2}
${color}sda1 ${fs_used /}/${fs_size /}${alignr}${color 49a835}${fs_bar 10,75 /}
${color}sda2 ${fs_used /home}/${fs_size /home}${alignr}${color 49a835}${fs_bar 10,75 /home}
${color}sda2 ${fs_used /home}/${fs_size /home}${alignr}${color 49a835}${fs_bar 10,75 /home}
${color}sdb1 ${fs_used /media/mine}/${fs_size /media/mine}${alignr}${color 49a835}${fs_bar 10,75 /media/mine}
${color}sda4 ${fs_used /media/private}/${fs_size /media/private}${alignr}${color 49a835}${fs_bar 10,75 /media/private}


${color}Processes ${hr 2}
${color}Command${alignr}CPU%
${color}${top name 1} ${alignr}${top cpu 1}
${color}${top name 2} ${alignr}${top cpu 2}
${color}${top name 3} ${alignr}${top cpu 3}
${color}${top name 4} ${alignr}${top cpu 4}
${color}${top name 5} ${alignr}${top cpu 5}
${color}${top name 6} ${alignr}${top cpu 6}
${color}${top name 7} ${alignr}${top cpu 7}
${color}${top name 8} ${alignr}${top cpu 8}

${color}Command${alignr}RES
${color}${top_mem name 1} ${alignr}${top_mem mem_res 1}
${color}${top_mem name 2} ${alignr}${top_mem mem_res 2}
${color}${top_mem name 3} ${alignr}${top_mem mem_res 3}
${color}${top_mem name 4} ${alignr}${top_mem mem_res 4}
${color}${top_mem name 5} ${alignr}${top_mem mem_res 5}
${color}${top_mem name 6} ${alignr}${top_mem mem_res 6}
${color}${top_mem name 7} ${alignr}${top_mem mem_res 7}
${color}${top_mem name 8} ${alignr}${top_mem mem_res 8}

S H O R T C U T    K E Y S
${hr}
Alt+F3$alignr Alt Menu
Super+Space$alignr Main Menu
Super+Tab$alignr Client Menu
Super+t$alignr Terminal
Super+f$alignr File Manager
Super+e$alignr Editor
Super+m$alignr Media Player
Super+w$alignr Web Browser
Super+h$alignr Task Manager
Super+l$alignr Lock Screen
Super+v$alignr Volume Control
Super+x$alignr Logout
PrtSc$alignr Screenshot

Offline

#6 2013-01-17 23:07:22

raedov
New Member
Registered: 2013-01-14
Posts: 5

Re: High Memory Usage

fatmac wrote:

Linux will cache programs that you have/had started in a session so that they load quickly if you reuse them.

Running programs will always be given all the ram they need, & if that runs out because you have lots of running programs, it will use swap.

thank you

Offline

#7 2013-01-18 01:54:39

JLloyd13
#! Member
Registered: 2012-08-08
Posts: 83

Re: High Memory Usage

Doesn't seem to be a problem with your conky.. it's odd. In any way your not out of ram.

Offline

Board footer

Powered by FluxBB

Copyright © 2012 CrunchBang Linux.
Proudly powered by Debian. Hosted by Linode.
Debian is a registered trademark of Software in the Public Interest, Inc.

Debian Logo