Open tsklxiv opened 2 years ago
Hi @HoangTuan110 , thanks for reporting this! I have previous noted this as a concern that makes Alda difficult to run on Raspberry Pi (#403)
I think the solution is to include some JVM options when we are starting the alda-player
Java processes, to use less memory. This is not my strong suit, so I would really appreciate if anyone could offer suggestions about JVM options that we could use!
🐞 Bug report 🐞
Description
When left open the alda's REPL for a very short amount of time, suddenly it consumes a huge amount of RAM at rapid speed (~1.5 gigabytes).
Steps to Reproduce
alda repl
Does the problem happen consistently?
Yes
Is there anything else that it would be useful for us to know?
This also seems to happen when run
alda ps
andalda-player info
. When I opened uphtop
it also shows that there are a lot of alda processes.Expected Behavior
The alda REPL starts normally and doesn't consume huge amount of RAM.
Actual Behavior
The alda REPL starts normally, but then consumes a huge amount of RAM.
Environment
OS: Ubuntu (Pop!_OS 21.10 x86_64) Alda installed through Homebrew.
Alda version:
Health check:
Logs: