Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

High memory usage/leak #174

Open
vinc817 opened this issue Jul 7, 2024 · 5 comments
Open

High memory usage/leak #174

vinc817 opened this issue Jul 7, 2024 · 5 comments

Comments

@vinc817
Copy link

vinc817 commented Jul 7, 2024

This process is taking over 20% of the RAM:
/usr/local/openjdk-11/bin/java -Dsonarr.apikey=apikey -Dsonarr.baseUrl=http://192.168.2.150:8989/ -Dsonarr.qualityProfile=WEB-DL1080p -Dradarr.api can't read the rest of the process

Killing Watchlistarr (on Unraid) fixed it.

image

@ersan
Copy link

ersan commented Jul 14, 2024

I think this is the purpose of the -Xmx100m argument in the readme which you aren't using - to limit the program's memory usage.

@nylonee
Copy link
Owner

nylonee commented Jul 31, 2024

The -Xmx100 argument would indeed help, but your top is still worrying. I'll keep this thread open so that I can try this out myself when I'm back at a computer (I'll been afk for a while, perhaps until October)

@vinc817
Copy link
Author

vinc817 commented Aug 22, 2024

I think this is the purpose of the -Xmx100m argument in the readme which you aren't using - to limit the program's memory usage.

Thank you for both your replies. I am using Docker in Unraid. Where should I be able to enter this argument?
I also see this argument in my entrypoint.sh file:

CMD=("/app/bin/watchlistarr")

JAVA_OPTS=(-Xmx100m)

exec "${CMD[@]}" "${JAVA_OPTS[@]}"

@danimal1986
Copy link

@ersan @nylonee
Any update? I'm having the same issue as @vinc817 on unraid. I just noticed a very high memory usage and looking at htop i saw the exact same thing. Once i killed watchlistarr memory went back to normal.

@paulbaird87
Copy link

Same, Unraid reporting container using 3.2gb dedotated wam

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants