Memory usage in B227
endar
Join Date: 2010-07-27 Member: 73256Members, Squad Five Blue
I've noticed memory usage by server.exe is subsantially higher than previous builds. This could be causing problems for some servers if you were pushing your memory limits in previous builds. I have 8GB in the server, and its getting close.
<img src="http://i.imgur.com/kLmq3.png" border="0" class="linked-image" />
<img src="http://i.imgur.com/kLmq3.png" border="0" class="linked-image" />
Comments
The increased memory usage is quite noticable, though. My first thought was "oO" as my two server instances filled up with 227 players yesterday while I was watching the resources-monitoring.
edit: I also noticed an increased workload, the tickrate is a bit lower on my servers than it was with previous builds.
New infestation is the likely culprit.
edit:
upon shutting the server down, it threw these at me:
Error: 23190 memory leaks in 'ServerGame' (634016752 bytes)
Error: 23190 memory leaks in 'Engine' (634016752 bytes)
Error: 23190 memory leaks in 'Heap' (634016752 bytes)
I hosted the server - was at 3 Gb ram used - then server filled up etc - went to ~4-5 Gb -
server stayed on for about 10 hours - then emptied out - was at 6 GB
i ended task -
ram still 6 gigs used - had to fullly restart comp to get it back down :(
I hosted the server - was at 3 Gb ram used - then server filled up etc - went to ~4-5 Gb -
server stayed on for about 10 hours - then emptied out - was at 6 GB
i ended task -
ram still 6 gigs used - had to fullly restart comp to get it back down :(
turns out it was my AVP -
ran poolmon - found this
<!--c1--><div class='codetop'>CODE</div><div class='codemain'><!--ec1-->Tag Type Allocs Frees Diff Bytes Per Alloc
Fwpx Nonp 23498940 0 23498940 4511796480 192
CM31 Paged 58312 30734 27578 125919232 4565
CM25 Paged 8746 0 8746 46919680 5364
PcNw Nonp 83158 57863 25295 21198720 838
MmSt Paged 2854470 2851804 2666 14330256 5375
File Nonp 21594003 21562463 31540 10585696 335
MFE0 Nonp 437218883 437176669 42214 9798624 232
IoNm Paged 15047745 15017321 30424 8242384 270
FMfn Paged 30819243 30802085 17158 7572976 441
MFEm Nonp 61968 61935 33 7327008 222030
MmRe Paged 67349 66400 949 5901792 6218<!--c2--></div><!--ec2-->
Gotta love POS Mcafee - just found serveral topics on memory leak and still not fixed yet-
But i will still monitor the server with the usage and see how much it uses.
Thanks
I don't think this is true anymore, because I've had servers go well above 2GB and still run. From my experience, 4GB is more likely the limited in which the server will crash, as I've seen server instances freeze at around the 3.7-3.8GB range.
Currently at 2.5GB
- Engine 2,185MB
- ServerGame 1,279MB
- ServerWorld 48MB
- PathingScene 26MB
- Collision Scene 7,961kB
- EntityQueryManager 636kB
- ObjectTagQueryManager 0
- Profile 0
- Locale 68
- Locale 56
- EntitiesToDelete 0
- Entities 8,188
- LevelCollisionObjects 20
- Level 17kB
- MessageNameToIndex 2,460
- ClassNameToIndex 7,964
- ClassIndexToMapName 7,140
- Classes 1,020
- MapNameToIndex 7,900
- Strings 784
- Cinematics 18kB
- SoundNames 24kB
- AnimationGraphs 2,836
- Models 4,480
- PredictionData 104
- InstalledMaps 508
- InstalledModNames 28
- InstalledMods 84
- FileHashes 42kB
- SnapshotWriter 0
- AsyncTaskList 28
- Mods 0
- Connections 124
- Physics 83MB
- PhysX 83MB
- Resources 822MB
- Material 132
- AnimationGraph 200kB
- Model 822MB
- Script 44MB
Anything else I should run or do?
Been msging on steam haha
server was very nice.
<img src="http://img594.imageshack.us/img594/2381/server1z.jpg" border="0" class="linked-image" />
I noted the error message but failed to get the logs. I will monitor closer and post the logs when I see it happen again.
my vancouver server just played a map for 2 hours - the entity count according to HLSW went up to 1.8k and it was fine
<a href="http://ns2servers.devicenull.org/detail.php?id=8406" target="_blank">http://ns2servers.devicenull.org/detail.php?id=8406</a>
the tool stopped reporting properly after 1k LOL.