Skip to content

JVM memory increase #5043

Answered by Mohit-3196
yashtandon113 asked this question in FAQs
Apr 25, 2023 · 2 comments · 1 reply
Discussion options

You must be logged in to vote

Hello,
By default, the JVM memory is 1/4th of the total memory.

To increase JVM memory, you need to edit and add below property under /etc/systemd/system/antmedia.service file.

Environment=JVM_MEMORY_OPTIONS=-Xmx4g (This is for 4GB JVM memory. Please change the value as per your requirement)

After saving the file, run below commands

sudo systemctl daemon-reload
sudo systemctl antmedia restart

Replies: 2 comments 1 reply

Comment options

You must be logged in to vote
1 reply
@ghost
Comment options

Answer selected by yashtandon113
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
3 participants