如何解决“内存不足”问题VB6 应用程序中的错误
我负责找出其中一个遗留应用程序在多次执行某项功能后崩溃的原因。我下载了一个分析器工具“Glowcode”并通过它运行该应用程序。它报告了许多泄漏,我最终得到了它们的堆栈信息。但现在该怎么办呢?
我四处冲浪,发现了一个在编译时创建“映射文档”的教程,该教程将内存地址链接到特定的代码行。该教程适用于更高版本的 Visual Studio,我在 VB6 中找不到相同的设置。
所以总结一下,如果有人可以指导我逐步教程或建议我,那就太好了。
I have be charged with finding out whty one of the 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.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
使用后销毁对象,避免交叉引用。
这是关于该主题的有用文章: http://www.vbi.org/项目/article.asp?id=106
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