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 286 07-Sep-2023, 04:09 PM
Last Post: uglymusic
  Problem running MPD with 1.2.9 firmware koko6969koki 1 481 09-Mar-2023, 05:33 PM
Last Post: agent_kith
  [SOLVEDRunning Snakeoil as FANLESS Minimserver hkphantomgtr 23 5,903 27-Oct-2020, 09:53 AM
Last Post: agent_kith
  Running SnakeOil from RAM? koko6969koki 0 886 21-Apr-2020, 12:00 AM
Last Post: koko6969koki
  [SOLVEDread_cfg problem when running 64 bit 0.1.4 on atom system rab 13 11,503 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
Announcing Snakeoil Measurements 1.3.0
Last Post: kees1000
13-Apr-2024 11:54 PM
» Replies: 95
» Views: 4675
LMS rebranded to Lyrion Media Server
Last Post: Bromf
07-Apr-2024 01:59 PM
» Replies: 4
» Views: 94
ZimaBoard 2x NIC, 2x SATA, 2x USB, 1x PC...
Last Post: agent_kith
26-Mar-2024 12:04 PM
» Replies: 13
» Views: 683
LMS Upgrade ?
Last Post: uglymusic
15-Mar-2024 09:14 PM
» Replies: 7
» Views: 186
Squeezebox shutdown
Last Post: TripleX
13-Mar-2024 07:34 AM
» Replies: 4
» Views: 97
MP3 Not Playing
Last Post: Coacharnold
10-Mar-2024 10:25 AM
» Replies: 3
» Views: 73
Fail to install myMPD
Last Post: hkphantomgtr
03-Mar-2024 08:45 PM
» Replies: 9
» Views: 237
Intel HFI Driver Can "Save Tons Of CPU C...
Last Post: hkphantomgtr
28-Feb-2024 09:15 PM
» Replies: 0
» Views: 62
More Problems with Squeezelite in 1.3
Last Post: Coacharnold
17-Feb-2024 09:47 PM
» Replies: 2
» Views: 84
Snakeoil Music server & Snakeoil its own...
Last Post: Snoopy8
17-Feb-2024 11:20 AM
» Replies: 8
» Views: 410

[-]
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-2024. Theme © Melroy van den Berg.