Memory leak ( 1.1.8 running on ESXI 6.7 )
#1
Hello
I'm runing 1.1.8 version on Vmware ESXI 6.7 with settings:CPU - 1 vCPUs Memory - 4 GB Hard disk 1 - 8 GB

SnakeOil runs as roon server only

First time I assign 2 GB RAM, but utilization show 100% from the beggining. When I assign more memory iot looks like that roon server consummates all in 1h period. Is it memory leak or normal situation ?
[Image: Zrzut-ekranu-2020-02-15-o-15-53-22.png] 

[Image: Zrzut-ekranu-2020-02-15-o-15-49-29.png]

[Image: Zrzut-ekranu-2020-02-15-o-15-50-48.png]
Reply

#2
(15-Feb-2020, 10:57 PM)barni Wrote: First time I assign 2 GB RAM, but utilization show 100% from the beggining. When I assign more memory iot looks like that roon server consummates all in 1h period. Is it memory leak or normal situation ?
A memory leak occurs when an application allocates memory for use, but forget to release the block back to the system when the application is done with it. In a memory leak situation, the application will eventually crash when it continues to try and allocate memory, and fail.

Thus in general, if there is a memory leak, the application will crash after a while. But this isn't always the case, so you can also refer to the logs file (if any) and see if it's doing that. I don't use Roon so can't really trouble shoot this. According to Roon's requirements, it requires 4 GB RAM minimum (Link).

IIRC, Roon is written in C#, so it doesn't have memory leak. Mono (C# run time for Linux) is written in C so it might have a memory leak. If you want, you can update the version of Mono on your Snakeoil PC and see if that fixes things.

Also, look at the first few rows of top. It will tell you if the memory is used for application, or for caching. If it's in the latter, then in general it'll be safe.

Looking at Top as well, it seems the CPU is in excessive load (>40%). Are you doing any DSP work? If yes, consider:
  1. Increase vCPU (At least 2)
  2. Pass through the GPU and use that for processing (assuming Roon supports GPU offload?)
  3. Make sure you have vmware client installed. It will imrove memory management between host <-> VM
Snakeoil Operating System - Music, your way!
Reply



Bookmarks

Possibly Related Threads…
Thread Author Replies Views Last Post
  LMS not running on RPi 3B Tecko 1 577 07-Sep-2023, 04:09 PM
Last Post: uglymusic
  Problem running MPD with 1.2.9 firmware koko6969koki 1 854 09-Mar-2023, 05:33 PM
Last Post: agent_kith
  [SOLVEDRunning Snakeoil as FANLESS Minimserver hkphantomgtr 23 8,509 27-Oct-2020, 09:53 AM
Last Post: agent_kith
  Running SnakeOil from RAM? koko6969koki 0 1,126 21-Apr-2020, 12:00 AM
Last Post: koko6969koki
  [SOLVEDread_cfg problem when running 64 bit 0.1.4 on atom system rab 13 13,195 11-Jun-2016, 05:21 PM
Last Post: agent_kith



Users browsing this thread:
1 Guest(s)

[-]
Our Sponsors

[-]
Welcome
You have to register before you can post on our site.

Username/Email:


Password:





[-]
Latest Threads
SOXR resampler and DSD
Last Post: agent_kith
Today 01:10 PM
» Replies: 3
» Views: 42
A ripping project ideae/help
Last Post: agent_kith
Today 01:09 PM
» Replies: 7
» Views: 79
Glibc 2.36 missing
Last Post: jetski
04-Mar-2025 03:23 AM
» Replies: 5
» Views: 119
Snakeoil 1.4.0 (High End)
Last Post: knottydreadbr
03-Mar-2025 11:42 PM
» Replies: 63
» Views: 4637
Using Ubuntu low latency & real time ker...
Last Post: hkphantomgtr
26-Feb-2025 12:13 AM
» Replies: 12
» Views: 576
My Snakeoil-powered system
Last Post: petemac110
24-Feb-2025 04:30 AM
» Replies: 7
» Views: 592
Snakeoil 1.4 and Squeezelite R2 - not re...
Last Post: petemac110
23-Feb-2025 07:47 PM
» Replies: 4
» Views: 127
Can't get Roon bridge or UPNP renderer t...
Last Post: agent_kith
21-Feb-2025 04:38 PM
» Replies: 9
» Views: 319
Progress update on High End U1
Last Post: agent_kith
21-Feb-2025 10:43 AM
» Replies: 8
» Views: 636
Snakeoil OS 1.4 problem with Squeezelite...
Last Post: mloutfie
14-Feb-2025 07:00 AM
» Replies: 14
» Views: 733

[-]
SnakeoilOS Mission Statement

Our mission is to create a free to use computer OS that is easy to install, intuitive to operate and play music that will connect and engage with you emotionally.

SnakeoilOS gives you the freedom to spend more time on listening, enjoying and exploring music. Wasting time on computers is now a thing of the past! Everything is constantly evolving/improving. Please check back often for updates.

If you like this project, do show your support with a small token donation. All donations collected will be used to run this website, and for purchasing new equipment for the project.


Powered By MyBB, © 2002-2025. Theme © Melroy van den Berg.