ant-media / Ant-Media-Server

Ant Media Server is a live streaming engine software that provides adaptive, ultra low latency streaming by using WebRTC technology with ~0.5 seconds latency. Ant Media Server is auto-scalable and it can run on-premise or on-cloud.
https://antmedia.io
Other
4.28k stars 629 forks source link

OutOfMemoryError #2822

Open muratugureminoglu opened 3 years ago

muratugureminoglu commented 3 years ago

Short description

java.lang.OutOfMemoryError: Physical memory usage is too high: physicalBytes (4974M) > maxPhysicalBytes (3876M)

Environment

Logs

ant-media-server.log - 2020-12-28T132858.039.zip

cppmyjob commented 3 years ago

Do you have any adaptive bitrate settings? If yes, how many do you use? The memory is not enough on the server. In the short term, you can increase memory We use 2 adaptive streams. I am not sure that the server has not enough memory, the server had about 1GB free (look screenshots below). The server was working fine during 1 month before. Also look my screenshots with memory info at the same time. dashboard top-during-error

After antmedia service restarting top-after-restarting

netaviator commented 3 years ago

I‘ve mentioned the same issue to the AntMedia Support. Seems like it’s not connected to have an active livestream as it happens in our case without any livestreams being active.

muratugureminoglu commented 3 years ago

Thank you, we will handle this as soon as possible.

mekya commented 3 years ago

This is is fixed in v2.3. Check the v2.3 Release Candidate to test.