Freeing up RAM/Memory on the Vu+ series receivers

Status
Not open for further replies.

khan888

Inactive User
Joined
Mar 25, 2005
Messages
369
Reaction score
132
Location
Nottingham
How to guide: Freeing up RAM/Memory on the Vu+ series receivers (Enigma 2)


'' Quick and simply guide showing how to free up memory on the Vu+ in case you need . Also work on other Enigma 2 based Linux satellite receivers (DM800HD etc...).



VU+ HD opensource linux enigma 2 based satellite receiver

Freeing up RAM/Memory on the Vu+ series receivers (Enigma 2)

(1) In Telnet type this command :

free

* You will see how much is total and how much is being used in that moment.

(2) Then type this command :

echo 1 > /proc/sys/vm/drop_caches

(3) Lastly type the first command again :

free
 
nice one mate...freed some memory up for me...see below


Vuplus 2.2.0 + BlackHole 1.7.5 bm750

bm750 login: root
root@bm750:~# free
total used free shared buffers
Mem: 138276 124476 13800 0 16680
Swap: 0 0 0
Total: 138276 124476 13800
root@bm750:~# echo 1 > /proc/sys/vm/drop_caches
root@bm750:~# free
total used free shared buffers
Mem: 138276 87912 50364 0 304
Swap: 0 0 0
Total: 138276 87912 50364
 
nice post and thanks for sharing :)

made a sticky ;)
 
Interesting, isn't all that the command is doing is dropping cached data? So the box will gradually rebuild the cache or have I mis-understood the command?
 
Unfortunately this is pretty much useless as linux handles free memory in a very different way to windows. basically linux considers free memory to be wasted memory and will always try to use as much memory as possible in it's every day to day use, freeing up portions as and when requested by other tasks. Yes freeing up a little memory can help in some rare cases but on the whole it's not needed at all.
 
Yes it is just freeing up cached RAM, both Linux and windows do a similar job of caching memory, but that's not to say they always release it correctly or when you would like it to, so in some cases it can help if you do it yourself, at least in this case it did for me:)

Sent from my x10 using Tapatalk 2
 
Just ran this on my duo and it released 3x more memory.
Top tip mate cheers for this.
 
I missed this first time around...

Pheonix is correct, further, Linux uses the term 'free' differently to the average person. In other words if you want to know how much memory is free consider the example below:

$ free
total used free shared buffers cached
Mem: 2050768 1965940 84828 0 16456 429872
-/+ buffers/cache: 1519612 531156
Swap: 975868 684856 291012

You would assume my 'free' memory is 84828 (about 4%) but it's not, the ACTUAL 'free' memory is closer to:

(Used - (Buffers + Cached)) + Free = 1604440 (about 78%).

This is about 'normal'. While it's true that there can be a memory 'cock-up' from time to time, 99.9% of the time if you mess with memory management you'll simply detract from overall performance of a Linux system. If you add memory to a Linux system it will usually simply be gobbled up straight-away leaving an apparent ~5% free.

This NOT how Windows works and free memory in the two systems have different meanings and different impacts.

However, if you're a developer or need to manage memory more effectively you should probably look at kernel commit parameters in the first instance followed by the process 'kill' configuration - the so-called OOM-killer.
 
root@vusolo:~# free
total used free shared
Mem: 109208 106572 2636 0
-/+ buffers: 106520 2688
Swap: 0 0 0
root@vusolo:~# echo 1 > /proc/sys/vm/drop_caches
root@vusolo:~# free
total used free shared
total used free shared
Mem: 109208 92880 16328 0
-/+ buffers: 92876 16332
Swap: 0 0 0
root@vusolo:~#
 
Like the post.
What symptoms will the box display when memory is quiet full and needs clearing.
 
Status
Not open for further replies.
Back
Top