Hi all, I'm trying to throw my server on a linux machine, currently it works fine on Windows (and appears to use half the memory).
So here's my problem, on linux I'm running the server and memory is creeping up fairly steadily. (Starts at 600 MB, it's at 685MB after being up for 2 hours 15 mins).
I know there is a way to force garbage collection with MemHelper.cs, but that uses Kernel32, which obviously isn't present on mono. Any suggestions on how to force garbage collection on a linux system, or anything glaringly obvious that I could do to prevent that much of a difference in memory, just from running?
Just for comparison, on Windows it uses ~250MB of memory, and stays fairly constant.
I'm not extremely concerned at this point, just kind of curious if there is a way to force garbage collection (say every 30 minutes) on linux.
I'm going to leave it up and see if it continues to rise, (and if it caps).
Thanks.
So here's my problem, on linux I'm running the server and memory is creeping up fairly steadily. (Starts at 600 MB, it's at 685MB after being up for 2 hours 15 mins).
I know there is a way to force garbage collection with MemHelper.cs, but that uses Kernel32, which obviously isn't present on mono. Any suggestions on how to force garbage collection on a linux system, or anything glaringly obvious that I could do to prevent that much of a difference in memory, just from running?
Just for comparison, on Windows it uses ~250MB of memory, and stays fairly constant.
I'm not extremely concerned at this point, just kind of curious if there is a way to force garbage collection (say every 30 minutes) on linux.
I'm going to leave it up and see if it continues to rise, (and if it caps).
Thanks.