Raised This Month: $51 Target: $400
 12% 

[amx 1.5] Memory leak?


  
 
 
Thread Tools Display Modes
CRAZyBUg
Member
Join Date: Jul 2005
Old 08-12-2005 , 07:54  
#11

Quote:
Originally Posted by CRAZyBUg
6hours gone, no leaks (i hope ;)) ram usage: 66-70mb
I just looked at the proc. 80mb ram usage. seems to raise, but not as fast as normal.
CRAZyBUg is offline
CRAZyBUg
Member
Join Date: Jul 2005
Old 08-12-2005 , 09:23  
#12

Quote:
Originally Posted by BAILOPAN
The bug is most likely in CSX. Please disable stats stuff and see if that solves it. If so, I can compile a memory-test version of AMXX for you, which will show where the memory leaks occur.
Yeah, that would be nice.
CRAZyBUg is offline
BAILOPAN
Join Date: Jan 2004
Old 08-17-2005 , 12:10  
#13

I've attached a DLL that will try to detect memory leaks. It will output one or two files, in the HLDS main folder (above mod folder), called "memleaks.log" and "memreport.log".

It will also create allocation logs in a folder in addons/amxmodx.

If you get a memleaks.log that says there are memory leaks, zip it all up for me (no .rar's!)
__________________
egg
BAILOPAN is offline
CRAZyBUg
Member
Join Date: Jul 2005
Old 08-17-2005 , 20:08  
#14

i overwritten the original 1.50 dll. the server crashed after a --- MAP CHANGED ---


L 08/18/2005 - 01:06:55: -------- Mapchange --------


is the only msg displayed in console. there are no files created, of course no written....


if you want to get access to a amxx 1.5 server for testing there is no problem i would fire up one and fill it. You can have rdp and ftp access for testing.

cheers
CRAZyBUg is offline
BAILOPAN
Join Date: Jan 2004
Old 08-17-2005 , 20:30  
#15

Here is a new binary, I've fixed this (thanks!)
Attached Files
File Type: zip amxmodx_mm.zip (252.0 KB, 129 views)
__________________
egg
BAILOPAN is offline
CRAZyBUg
Member
Join Date: Jul 2005
Old 08-18-2005 , 06:00  
#16

heyaaa nice thanks for the fast fix will reply the results this evening.

Are the mem outputs written if a leak is seen, or are they prewriting and logging leaks too?
And, is the leakcheck only testing the stats or also modules like engine?


Cya
CRAZyBUg is offline
MasterWanger
Junior Member
Join Date: Mar 2005
Location: Bowie Maryland
Old 08-18-2005 , 10:32  
#17

Just a Quick thought.

It also depends on what the system priority is of the Server/Plugin Count/Module Count/Metamod DLL's Loaded

Example:
  • Normal Priority
    - Use around 30 mb RAM(i think)

    Above Normal
    - Uses around 70 mb RAM(What i run my server AT)

I would not recommend you run it any higher or lower.
Heres an EXACT screenshot of what mine uses(Running at Above Normal):
MasterWanger is offline
Send a message via AIM to MasterWanger
CRAZyBUg
Member
Join Date: Jul 2005
Old 08-18-2005 , 10:52  
#18

Why are you changing the priority? O_o
CRAZyBUg is offline
MasterWanger
Junior Member
Join Date: Mar 2005
Location: Bowie Maryland
Old 08-18-2005 , 11:19  
#19

it allows you to give the server priority over the computer.

AKA

giving it more ram and more network usage priveleges.

Kinda like a VIP pass to a football game. <-- Ok, i tried.

Simply put, more ram + more network usage = LESS LAGG!
MasterWanger is offline
Send a message via AIM to MasterWanger
BAILOPAN
Join Date: Jan 2004
Old 08-18-2005 , 11:50  
#20

All modules are automatically tested (this will change with the next release actually).

The following files are generated:
memleaks.log (generated when you exit the server)
memreport.log (generated if serious memory errors occur)
addons/amxmodx/memreports/ (contains log files of allocations and deallocations)

HLDS usually uses about 65-75MB for me no matter what priority I run it at.
__________________
egg
BAILOPAN is offline
 



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 -4. The time now is 20:55.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode