Background
We develop on Windows11 and provide pixel streaming services on Linux servers.
Development environment: Windows 11, UE Engine 5.0.3 & UE Engine 5.4.1
Cross-compilation: v20_clang-13.0.1-centos7 (for UE 5.0.3) & v22_clang-16.0.6-centos7 (for UE 5.4.1)
Linux server: Centos 8, i9-12900KF, RTX3080, memory 128GB
Question
- When starting with -RenderOffscreen command,Server memory will increase significantly over time until the memory is full.
In Linux system, through the command:
./Fuzzy.sh -PixelStreamingURL="ws://127.0.0.1:13250" -PixelStreamingHideCursor -RenderOffScreen -ForceRes -ResX=1896 -ResY=800
When running, the system’s memory usage will continue to grow in a short period of time.
When the server is connected to the screen, run it through the command:
./Fuzzy.sh -PixelStreamingURL="ws://127.0.0.1:13250" -PixelStreamingHideCursor -ForceRes -ResX=1896 -ResY=800
The memory will not change significantly.( I connect the server to a monitor and start it through the graphical interface, without using -RenderOffscreen command, the memory is normal.) - Note: In the production deployment environment, the project is generally started through SSH, and the server will not be equipped with a display. And through SSH, if the -RenderOffScreen command is not used, a display window will pop up on the client.
Additional context
Operating system:
Graphics card and driver version:
Memory problem
Satrt:
Run for half an hour: