#Memory usage increasing

1 messages ยท Page 1 of 1 (latest)

calm tide
#

Goodmorning, anyone noticed a constant memory increase on home assistant when running music assistant.
HA starts with 1.2gb mem , after starting MA mem increases every few seconds until it reaches the max amount of 8 gb after a few hours.
When i stop MA, mem drops back to 1,2gb.

#

Running haos on proxmox

rocky dagger
#

Where do you check? Don't trust the PVE stats. Use the glances addon to see what causes it.

calm tide
#

in pve and in haos system/hardware

rocky dagger
#

PVE also counts cache so not that useful. Monitor the processes with glances.

calm tide
#

will install glances and see.

#

i'll be back ๐Ÿ™‚

calm tide
#

CONTAINERS 15 sorted by CPU consumption
Engine Pod Name Status Uptime CPU% MEM /MAX IOR/s IOW/s RX/s TX/s Command
docker - addon_d5369777_music_assistant running 8 mins 8,5 409M 7.76G 0b 0b NaNb NaNb mass --config /data

rocky dagger
#

A picture would be better in this case. If you do share command outputs use a code block so the formatting is preserved.

calm tide
#

mem for music assistant in glances rises with 5mb every few seconds, all other mems are stable.

rocky dagger
#

Press Z and M to show processes and sort by memory.

calm tide
#

how to share command outputs?? also, do i need to set loglevel to debug in ma?

rocky dagger
#

No.

narrow girderBOT
#

To format your text as code, enter three backticks on the first line, press Enter for a new line, paste your code, press Enter again for another new line, and lastly three more backticks.
```yaml
example: here
```
Don't forget you can edit your post rather than repeatedly posting the same thing.

rocky dagger
#

No need in this case though.

calm tide
calm tide
# narrow girder

sorry, only using discord for ha, not liking it very much tough.. ๐Ÿ™‚

rocky dagger
#

I don't use Music Assistant myself so I'm not sure how much it's supposed to use but I would be surprised if 2G+ is normal. Right now it's still okay.

calm tide
rocky dagger
#

I just checked the docs and they say 2G is the minimum.

calm tide
rocky dagger
#

Yup. Maybe another MASS user will chime in.

calm tide
calm tide
#

Update: beta did the same, i started out of the box and connected to hass, added providers, speakers etc... all went well and memory stayed perfectly stable at 78mb, until i added squeezelite as player provider. It started increasing the mem again, same as before, no speaker added. Disabled squeezelite and restarted mass was back to normal. Enabling again and problem is back. After disabling Discovery server in the squeezelite settings the memory stabilized, rebooting also fine. Enabled the SL Discovery server back again and memory is fine too. Then booted my picoreplayer and played some stuff, no increasement anymore! So for now i would strongly suggest that the problem is caused by Squeezelite player provider setting > Discovery server. This solved my issue, but may help others..๐Ÿ‘ ๐Ÿ––

calm tide
#

Thanks @Impact !