Fulqrum Publishing Home   |   Register   |   Today Posts   |   Members   |   UserCP   |   Calendar   |   Search   |   FAQ

Go Back   Official Fulqrum Publishing forum > Fulqrum Publishing > IL-2 Sturmovik: Cliffs of Dover > CoD Multiplayer

CoD Multiplayer Everything about multiplayer in IL-2 CoD

Reply
 
Thread Tools Display Modes
  #1  
Old 07-03-2011, 05:20 PM
Thee_oddball Thee_oddball is offline
Approved Member
 
Join Date: Mar 2011
Posts: 812
Default memory leak solution for servers(maybe)

Quote:
It turns out the gcConcurrent setting does not change which garbage collector loads. gcConcurrent only has an impact on the workstation (MsCorWks.dll) implementation of the garbage collector (it is effectively ignored by the server implementation), and furthermore only changes the GC behavior on multiprocessor machines.

With the setting enabled the garbage collector uses an additional thread to build a graph of unreachable objects. The rule of thumb is, gcConcurrent=”true” (default setting) will provide for a more responsive application, but can also let the working set (memory usage) grow larger. You’d have to carefully test an application to see if disabling gcConcurrent actually helps an application’s performance or memory usage. The most detailed source of information I’ve found in one place on this subject is Jeffrey Richter’s book.

in your root folder of steam COD you will find the launcherexe config file open it up and change gcconcurrent from true to false and see if your server still suffers from the eventually overload and lag out that happens after it has been running for a while.

S!
__________________
Gigabyte Z68
Intel 2500K (@4.3 ghz)212 CM Cooler
8GB Ram
EVGA 660SC (super clocked) 2GB Vram
CORSAIR CMPSU-750TX 750W
64 GB SSD SATA II HD
WIN7 UL 64BIT
Reply With Quote
  #2  
Old 07-03-2011, 11:57 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

This probably won't do anything because the vast majority of IL-2 is written in C++. It is possible (though unlikely) to have memory "leaks" in managed code, but a garbage collector can't do anything about that. The memory has to be properly dereferenced to begin with.
Reply With Quote
  #3  
Old 07-04-2011, 09:56 PM
Thee_oddball Thee_oddball is offline
Approved Member
 
Join Date: Mar 2011
Posts: 812
Default

Quote:
Originally Posted by TheEnlightenedFlorist View Post
This probably won't do anything because the vast majority of IL-2 is written in C++. It is possible (though unlikely) to have memory "leaks" in managed code, but a garbage collector can't do anything about that. The memory has to be properly dereferenced to begin with.
would changing it effect how the scripts work?

S!
__________________
Gigabyte Z68
Intel 2500K (@4.3 ghz)212 CM Cooler
8GB Ram
EVGA 660SC (super clocked) 2GB Vram
CORSAIR CMPSU-750TX 750W
64 GB SSD SATA II HD
WIN7 UL 64BIT
Reply With Quote
  #4  
Old 07-04-2011, 10:43 PM
TheEnlightenedFlorist TheEnlightenedFlorist is offline
Approved Member
 
Join Date: May 2011
Location: SLC, Utah, USA
Posts: 143
Default

Yes. I would not be messing around with the garbage collector, though. You'd be hard pressed to write a script that actually used any significant amount of memory. If your script is crashing the server, using tons of memory, or causing a significant impact on performance, no garbage collector can save you.
Reply With Quote
  #5  
Old 07-04-2011, 11:12 PM
Thee_oddball Thee_oddball is offline
Approved Member
 
Join Date: Mar 2011
Posts: 812
Default

Quote:
Originally Posted by TheEnlightenedFlorist View Post
Yes. I would not be messing around with the garbage collector, though. You'd be hard pressed to write a script that actually used any significant amount of memory. If your script is crashing the server, using tons of memory, or causing a significant impact on performance, no garbage collector can save you.
understood, thnx for the info
__________________
Gigabyte Z68
Intel 2500K (@4.3 ghz)212 CM Cooler
8GB Ram
EVGA 660SC (super clocked) 2GB Vram
CORSAIR CMPSU-750TX 750W
64 GB SSD SATA II HD
WIN7 UL 64BIT
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 02:34 PM.


Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.
Copyright © 2007 Fulqrum Publishing. All rights reserved.