Anonymous | Login | Signup for a new account | 27-12-24 01:11 CET |
Main | My View | View Issues | Change Log | Roadmap |
View Issue Details [ Jump to Notes ] | [ Issue History ] [ Print ] | |||||
ID | Project | Category | View Status | Date Submitted | Last Update | |
0001868 | SphereServer | executable - windows build | public | 17-12-10 13:26 | 23-01-11 03:35 | |
Reporter | Incanus | |||||
Assigned To | MrSugarCube | |||||
Priority | normal | Severity | major | Reproducibility | always | |
Status | resolved | Resolution | fixed | |||
Platform | Windows | OS | Windows | OS Version | Server 2003 | |
Product Version | ||||||
Target Version | Fixed in Version | 0.56c Nightly | ||||
Summary | 0001868: Sphere has a major memory leak | |||||
Description | Sphere has a major memory leak. When we start up our server it uses approximately 460 MB. This increases over time, dependent on user activity. We use a script that reboots the server when sphere reaches a memory usage of 730 MB. This happens two times on a normal day. Though on major events, when 30+ players are battling in the same crowded area the memory usage explodes and we lose 200-300 MB an hour. So my guess is the memory leak is related to the networking code. When I can help to track down the cause of the memory leak let me know. | |||||
Additional Information | Items: 850.000 Chars: 26.000 UseAsyncNetwork=1 UsePacketPriority=1 EF_NetworkOutThread enabled User load: http://www.skariatain.net/statusbild/24stunden.php [^] | |||||
Tags | No tags attached. | |||||
Nightly Version | Automated (specify build number) | |||||
Experimental Flags | UsePingServer, UseNetworkMulti | |||||
Option Flags | Command_Sysmsgs, FileCommands, NoHouseMuteSpeech, Buffs, NoPrefix | |||||
Internal Build Number | 1377 | |||||
Attached Files | mem_leak.png [^] (35,523 bytes) 04-01-11 02:29
| |||||
Relationships | |||||||||||
|
Notes | |
(0000813) Incanus (reporter) 04-01-11 02:25 |
Script to reproduce the leak on an empty world, tested with 1385 and UseExtraBuffer=1 [FUNCTION f_test_leak] GO 100,100 FOR X -20 20 FOR Y -20 20 SERV.NEWITEM i_floor_marble NEW.P <EVAL <P.X> + <LOCAL.X>>, <EVAL <P.Y> + <LOCAL.Y>> ENDFOR ENDFOR f_test_leak_timer f_test_leak_timer f_test_leak_timer f_test_leak_timer [FUNCTION f_test_leak_timer] IF !(<FLAGS>&statf_war) UPDATE TIMERF 0, f_test_leak_timer ENDIF |
(0000832) Incanus (reporter) 12-01-11 02:54 |
This issue is related to the TooltipCache. Enabling the TooltipCache fixes the bug. |
(0000852) MrSugarCube (administrator) 22-01-11 02:18 |
Managed to reproduce and fix this (with Torfo's help). I believe it normally should only occur if you have TooltipCache=0 and a script is returning 1 under @ClientToolTip/@ItemClientToolTip. |
(0000860) Incanus (reporter) 23-01-11 02:18 |
This bug still exists in #1401 I reproduced on a freshly installed sphere server only with sphere standard scripts TooltipCache=0 FeatureAOS=0f |
(0000861) MrSugarCube (administrator) 23-01-11 03:35 |
True, the leak isn't related to @ClientTooltip triggers at all, just TooltipCache. :) Please check again in the next automated build (1402+). |
Issue History | |||
Date Modified | Username | Field | Change |
17-12-10 13:26 | Incanus | New Issue | |
04-01-11 02:25 | Incanus | Note Added: 0000813 | |
04-01-11 02:29 | Incanus | File Added: mem_leak.png | |
12-01-11 02:54 | Incanus | Note Added: 0000832 | |
19-01-11 17:00 | MrSugarCube | Relationship added | related to 0001891 |
22-01-11 02:18 | MrSugarCube | Note Added: 0000852 | |
22-01-11 02:18 | MrSugarCube | Status | new => resolved |
22-01-11 02:18 | MrSugarCube | Fixed in Version | => 0.56c Nightly |
22-01-11 02:18 | MrSugarCube | Resolution | open => fixed |
22-01-11 02:18 | MrSugarCube | Assigned To | => MrSugarCube |
23-01-11 02:18 | Incanus | Note Added: 0000860 | |
23-01-11 02:18 | Incanus | Status | resolved => feedback |
23-01-11 02:18 | Incanus | Resolution | fixed => reopened |
23-01-11 03:35 | MrSugarCube | Note Added: 0000861 | |
23-01-11 03:35 | MrSugarCube | Status | feedback => resolved |
23-01-11 03:35 | MrSugarCube | Resolution | reopened => fixed |
24-01-11 01:09 | MrSugarCube | Relationship added | related to 0001818 |
Copyright © 2000 - 2010 MantisBT Group |