开发者

How to troubleshoot "out of memory" errors in a VB6 application

I have be charged with finding out whty one of 开发者_如何学Cthe legacy applications crashes after performing a function several times. I downloaded a profiler tool "Glowcode" and ran the application through it. It reported many leaks and I eventually got the stack information for them. But what to do now?

I was surfing around and found a tutorial creating a "map document" at compile time that links memory adress to specific lines of code. The tutorial was for a later version of Visual Studio and I couldnt find the same settings in VB6..

SO to summarize if someone could direct me to a step by step tutorial or advise me that would be great.


Destroy the objects after you used them, avoid cross references.

Here is a useful article on the topic: http://www.vbi.org/Items/article.asp?id=106

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜