ElementZero icon indicating copy to clipboard operation
ElementZero copied to clipboard

High memory usage on wine

Open nerga789 opened this issue 5 years ago • 2 comments

Hello, i have no idea if this is some kind of memory leak, or if its just the way the server works on wine. Whenever someone joins the server the ram usage goes up and up. Whenever someone enters the area that was not visited during the current launch of the server, memory fills up. Tested it on two installations of ubuntu and on windows. The problem exists on my local ubuntu and the VPS one, but it doesnt happen on vanilla BDS on Windows or on EZ BDS on Windows. I tested the old version of EZ that worked for minecraft 1.16.10, and now im the newest version for 1.16.20, and the problem still exists.

nerga789 avatar Aug 13 '20 19:08 nerga789

Try using the docker image?

madeofstown avatar Aug 14 '20 00:08 madeofstown

This is a problem with Linux's handling of caches, and it requires you to have large memory. Try to use Crontab loop to release memory by yourself, there is no better way.

sync && echo "1" > /proc/sys/vm/drop_caches

"1" will not affect server operation

Redbeanw44602 avatar Aug 14 '20 15:08 Redbeanw44602