Graal Forums  

Go Back   Graal Forums > Development Forums > Tech Support
FAQ Members List Calendar Today's Posts

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 05-25-2005, 07:50 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
v3 Memory Leak

Certain combinations of show{img,poly,text} and hideimg commands seem to cause huge memory leaks in the v3 client (though apparently not v4). I can watch Graal in the Windows process list and see it incessantly consuming at least 250KB per second. Switching display drivers doesn't stop the problem, but it seems like it might change its speed. Not sure.

The weapon 'Kai_MemoryLeak' on the #gscript server provides a simple test case for the phenomenon.

The only reason I'm using hideimg before showimg is that some image properties are apparently preserved on the indices. If I use a transparent showpoly on index 213 then future polygons on that index will also be transparent. I have to use hideimg to manually reset the properties, or explicitly specify them for each call to showpoly
__________________
Reply With Quote
  #2  
Old 05-25-2005, 10:08 PM
Skyld Skyld is offline
Script-fu
Skyld's Avatar
Join Date: Jan 2002
Location: United Kingdom
Posts: 3,914
Skyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud ofSkyld has much to be proud of
Send a message via AIM to Skyld
I did check this out with Kaimetsu. The problem is in Graal 3, but not Graal 4. Testing the problem in Graal 3, I found Graal's memory usage at about 120,000K in a matter of minutes.
__________________
Skyld
Reply With Quote
  #3  
Old 05-26-2005, 01:41 PM
Admins Admins is offline
Graal Administration
Join Date: Jan 2000
Location: Admins
Posts: 11,693
Admins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud ofAdmins has much to be proud of
Well then it is not a problem I guess, since v4 will replace the old versions (uses the same codebase, so stuff that is fixed in v4 will also be fixed in the versions for Linux and Mac)
Reply With Quote
  #4  
Old 05-26-2005, 07:10 PM
Kaimetsu Kaimetsu is offline
Script Monkey
Kaimetsu's Avatar
Join Date: May 2001
Posts: 18,222
Kaimetsu will become famous soon enough
Quote:
Originally Posted by Stefan
Well then it is not a problem I guess, since v4 will replace the old versions
Yeah, that was my impression. Still, I wasn't sure how long it'd take for v4 to roll out, so I thought I should report it.
__________________
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 +2. The time now is 09:05 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.