HomeUser Control Panel (unavailable in archive)ForumsTutorialsArt GalleryResourcesMaps

Is It Possible To Make A Program That Checks Leaks By Examining Warcraft's Memory use

11-10-2008, 09:18 PM#1
Brash
There are programs for many things to aid and tear apart warcraft.. and there are programs that look over script to try to figure out if something will leak or not when it is run in war3.. often this is inaccurate

But what if, instead, we had a program that could look at and decipher the memory usage of warcraft as it runs the map to monitor it in the background and find out what is lingering to give us feedback.. and then translate it to certain repeating occurances that are the biggest culprits of lag.
11-10-2008, 11:15 PM#2
Toadcop
grimoire baby © xD
not directly but can be done using it. and also it's very relative "leaks"...
11-10-2008, 11:40 PM#3
Captain Griffen
It's called windowed mode + task manager...
11-10-2008, 11:48 PM#4
Brash
Quote:
Originally Posted by Toadcop
grimoire baby © xD
not directly but can be done using it. and also it's very relative "leaks"...
hm. i'll have to check that out.

Quote:
Originally Posted by Captain Griffen
It's called windowed mode + task manager...
?? You can't do anything with task manager related to warcraft. Only close the program down. I'm talking about specific information that warcraft stores in memory and translating it.
11-11-2008, 12:24 AM#5
MaD[Lion]
its better to learn to detect leak with ur eyes than learn to use a program for it. But ofc if u got no idea of wat leaks at all programs will help. But there have been 1000 topics on this
11-11-2008, 12:52 AM#6
Brash
Quote:
Originally Posted by MaD[Lion]
its better to learn to detect leak with ur eyes than learn to use a program for it. But ofc if u got no idea of wat leaks at all programs will help. But there have been 1000 topics on this

I know, but it helps to know what is going on behind the scenes to debug and double-check
11-11-2008, 03:06 AM#7
DioD
Brash

*You* do not need to debug every possible leak, most leaks sources takes hours to slow down map.
11-11-2008, 04:09 AM#8
Vexorian
yes, it is possible.
11-11-2008, 04:44 AM#9
The Elite
Quote:
?? You can't do anything with task manager related to warcraft. Only close the program down. I'm talking about specific information that warcraft stores in memory and translating it.
What he means is that you play wc3 in windowed mode, and at the very start you check how much memory it consumes in the task manager. Then you check it when you play your map and if the memory it consumes is larger then it was before you played then map then your leaking.
11-11-2008, 07:31 AM#10
Karawasa
Quote:
Originally Posted by Vexorian
yes, it is possible.



I think this would be quite a useful resource. It is not necessarily meant as a newbie's way out of leak checking, but rather a tool to help even the best coders.

With the detailed information that this could provide, I foresee the following applications; leak checking for newbies, benchmarking different systems or functions, testing and debugging different types of errors, and perhaps even ways to test loadscreen performance relative to time.

This of course is just brainstorming designed to hopefully encourage interest in this idea. I don't know if these things are possible, but I'd appreciate it Vexorian if you could think it over.
11-11-2008, 08:51 AM#11
Captain Griffen
*wonders if Grimoire has anything like this already; thinks it did?*