Descriptive Problem Summary: Everytime server reaches above 5 players and uptime gets over 10 mins server just crashes
Numbered Steps to Reproduce Problem:Almost every times
Code Snippet (if applicable) to Reproduce Problem:
|
|
Expected Results:
Actual Results:Welcome BYOND! (4.0 Public Version 494.1131)
BUG: Out of memory.
The BYOND hub reports that port 7777 is not reachable.
BUG: Crashing due to an illegal operation!
Mon May 21 18:18:23 2012
World opened on network port 3948.
Welcome BYOND! (4.0 Public Version 494.1134)
BUG: Out of memory.
Does the problem occur:
Every time
Tested with older version of source as well
When does the problem NOT occur?
Did the problem NOT occur in any earlier versions? If so, what was the last version that worked? (Visit http://www.byond.com/download/build to download old versions for testing.)
Workarounds:

1) Can you confirm whether this happens in newer versions?
2) Do you have the stack trace that is printed out by the crash? In Linux you should have a printout that shows the problem. I don't expect this to tell us much under the circumstances but it can't hurt.
3) What game were you trying to run? (Please provide a link to the hub entry if possible.)
Because your issue is that the server is running out of memory, I'm not positive this is something we can deal with, unless something in a recent version has caused memory to balloon out of control under special circumstances. Most likely the issue is simply that you're running a very large world on a machine that has far too little memory, in which case the best option is to get more memory.
If this is a game of your own design, I'd also look at anything that might possibly be taking up too much memory. There are cases where game design can have an impact on this, although generally speaking it's hard for a server to let memory get out of control by accident. BYOND is usually very good at cleaning up after itself, but there are some kinds of data structures you could use that would evade garbage collection if not handled properly. The simplest thing you can do is periodically run a routine to print out the number of objs, mobs, datums, and possibly lists in use; you should be able to see if any of those are growing out of control.