Zram


#1

Please add zram support for Vero 4k

thx


#2

What are you doing that would need that much memory? The 4K should have more than enough.


#3

Nothing special, just a big database.
3409 movies, 10072 TV episodes, 333276 songs, 22326 musicvideos

              total           used            free         shared  buff/cache   available
Mem:        1832388     1635216       65660        3700      131512      101624
Swap:       2097148       52328     2044820

total 468840
-rwxrwxrwx 1 root root 28672 Aug 9 19:20 ADSP0.db
-rwxrwxrwx 1 root root 1765376 Aug 9 20:16 Addons27.db
drwxrwxrwx 2 root root 4096 May 19 07:47 CDDB
-rwxrwxrwx 1 root root 16826368 Aug 10 06:31 Epg11.db
-rwxrwxrwx 1 root root 279015424 Aug 9 19:20 MyMusic72.db
-rwxrwxrwx 1 root root 72491008 Aug 9 20:15 MyVideos110.db
-rwxrwxrwx 1 root root 122880 Aug 9 19:20 TV32.db
-rwxrwxrwx 1 root root 38965248 Aug 10 06:31 Textures13.db
-rwxrwxrwx 1 root root 20480 Aug 9 19:20 ViewModes6.db
-rwxrwxrwx 1 root root 70844416 Aug 9 20:16 emby.db


#4

We need to figure out what is using your memory, while you still have about 101M free, that seems low. Mine runs with about 760M free.

Before doing anything, you should turn swap off as that will cause extra wear on the eMMC, possibly leading to an early death of the 4K.

Posting logs may help us see what you have that could be using memory.

Try looking at top to get an idea of what process is using the memory.

If it is the database causing the problem, you might consider switching to a MySQL database.


#5

Hi,

As @bmillham says, it’s quite surprising to see a request for zram when the device has 2GB of memory.

I’ve added ZRAM support as per your request:

It will be in the next update.

Sam


#10

Thank you :slight_smile:
I will also investigate if the ram usage is based on an issue, or just normal behaviour under my special circumstances.