|
From: <cro...@li...> - 2003-03-19 08:18:02
|
Module Name: crossfire Committed By: mwedel Date: Wed Mar 19 08:18:00 UTC 2003 Modified Files: crossfire/include: config.h Log Message: increase MAX_OBJECTS to 100,000. This value may still be too low, but I have observed problems on a very active server (metalforge) where maps are getting swapped out immediately as a player transfers to a new one - this causes problems (crashes) in the caller that expects the map the object just came from to still be in memory. MSW 2003-03-18 Start of context diffs Index: crossfire/include/config.h diff -c crossfire/include/config.h:1.49 crossfire/include/config.h:1.50 *** crossfire/include/config.h:1.49 Tue Nov 26 00:57:55 2002 --- crossfire/include/config.h Wed Mar 19 00:18:00 2003 *************** *** 1,6 **** /* * static char *rcsid_config_h = ! * "$Id: config.h,v 1.49 2002/11/26 08:57:55 garbled Exp $"; */ /* --- 1,6 ---- /* * static char *rcsid_config_h = ! * "$Id: config.h,v 1.50 2003/03/19 08:18:00 mwedel Exp $"; */ /* *************** *** 430,436 **** * 25000 is about 8.5 MB */ ! #define MAX_OBJECTS 25000 /* * Max objects low water mark (lwm). If defined, the map swapping strategy --- 430,436 ---- * 25000 is about 8.5 MB */ ! #define MAX_OBJECTS 100000 /* * Max objects low water mark (lwm). If defined, the map swapping strategy |