Why is my JVM out of memory? How much memory should I allocate to the JVM?
We recommend allocating 80% of your free system memory to the JVM.
- The minimum memory needed for a Red5 Pro server is 4GB.
- By default, the JVM heap allocation is 2GB of system memory. You will need to adjust this to allocate 80% of your free memory to the JVM.
- We recommend allocating this memory up front, rather than elastically.
- The amount of publishing streams and subscribing streams, as well as features like transcoding, will increase the need for more memory. See the current performance metrics in the Release Notes to get an idea of what your use-case will require.