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 625 07-Sep-2023, 04:09 PM
Last Post: uglymusic
  Problem running MPD with 1.2.9 firmware koko6969koki 1 900 09-Mar-2023, 05:33 PM
Last Post: agent_kith
  [SOLVEDRunning Snakeoil as FANLESS Minimserver hkphantomgtr 23 8,808 27-Oct-2020, 09:53 AM
Last Post: agent_kith
  Running SnakeOil from RAM? koko6969koki 0 1,166 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,375 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
Snakeoil 1.4.3 (High End U3)
Last Post: stereodave
Today 07:06 PM
» Replies: 38
» Views: 1321
Normal/Inverted Phase Playback
Last Post: hkphantomgtr
Today 02:53 PM
» Replies: 12
» Views: 3597
CamillaDSP for Room Correction
Last Post: Snoopy8
Today 01:53 PM
» Replies: 33
» Views: 10011
Work In Progress: 1.4.4
Last Post: agent_kith
23-Apr-2025 11:35 AM
» Replies: 13
» Views: 270
Wiki update - need your help!
Last Post: Snoopy8
22-Apr-2025 02:23 PM
» Replies: 7
» Views: 181
No audio devices on RPi5 with latests bu...
Last Post: miksi
21-Apr-2025 12:52 AM
» Replies: 16
» Views: 444
new install issues
Last Post: Snoopy8
19-Apr-2025 01:08 PM
» Replies: 7
» Views: 190
Connecting Spotify to SnakeOil
Last Post: Snoopy8
16-Apr-2025 01:55 PM
» Replies: 10
» Views: 268
Misc. sharing for building Raspberry Pi ...
Last Post: hkphantomgtr
13-Apr-2025 12:47 PM
» Replies: 2
» Views: 116
[split] Snakeoil 1.4.3 (High End U3)
Last Post: agent_kith
09-Apr-2025 03:45 PM
» Replies: 1
» Views: 79

[-]
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.