当前位置:网站首页>内存泄漏工具VLD安装及使用
内存泄漏工具VLD安装及使用
2022-07-03 02:46:00 【黑旋风大李逵】
1.初始VLD
VLD:Visual Leak Detector,可视化泄漏检测。
2.安装VLD(适用于vs2010~vs2015)
其它版本请参考其他文章进行手动配置。
软件下载地址:https://kinddragon.github.io/vld/
VLD安装步骤:
双击下载的.exe文件
经过以上步骤VLD就安装完毕了。
VLD安装目录下的文件:
测试VLD是否能用:
我使用的软件是vs2015
新建立一个C++工程
测试代码:
#include <iostream>
#include <vld.h>
using namespace std;
void main()
{
int *p = new int;//申请空间后没有进行释放,肯定是存在内存泄漏的
}
控制台显示结果:
说明有4个字节的内存泄漏,正好是一个int类型。
边栏推荐
- [advanced ROS] Lesson 6 recording and playback in ROS (rosbag)
- 【教程】chrome關閉跨域策略cors、samesite,跨域帶上cookie
- Gbase 8C system table PG_ aggregate
- 【富瀚6630编码存录像,用rtsp服务器及时间戳同步实现vlc观看录像】
- HW initial preparation
- Pytest (6) -fixture (Firmware)
- Deep learning: multi-layer perceptron and XOR problem (pytoch Implementation)
- 为什么会选择框架?选择什么样的框架
- Wechat - developed by wechat official account Net core access
- Tensorflow to pytorch notes; tf. gather_ Nd (x, y) to pytorch
猜你喜欢
[fluent] JSON model conversion (JSON serialization tool | JSON manual serialization | writing dart model classes according to JSON | online automatic conversion of dart classes according to JSON)
Random Shuffle attention
[hcia]no.15 communication between VLANs
Practice of traffic recording and playback in vivo
HW initial preparation
where 1=1 是什么意思
超好用的日志库 logzero
【Flutter】shared_ Preferences local storage (introduction | install the shared_preferences plug-in | use the shared_preferences process)
MATLAB小技巧(24)RBF,GRNN,PNN-神经网络
【翻译】后台项目加入了CNCF孵化器
随机推荐
迅雷chrome扩展插件造成服务器返回的数据js解析页面数据异常
Error invalid bound statement (not found): com ruoyi. stock. mapper. StockDetailMapper. XXXX solution
【翻译】Flux安全。通过模糊处理获得更多信心
Summary of interview project technology stack
[fluent] future asynchronous programming (introduction | then method | exception capture | async, await keywords | whencomplete method | timeout method)
左值右指解释的比较好的
Why choose a frame? What frame to choose
[translation] flux is safe. Gain more confidence through fuzzy processing
Source code analysis | layout file loading process
Serious security vulnerabilities reported by moxa mxview network management software
当lambda没有输入时,是何含义?
为什么会选择框架?选择什么样的框架
Gbase 8C function / stored procedure parameters (II)
简单理解svg
The core idea of performance optimization, dry goods sharing
[fluent] JSON model conversion (JSON serialization tool | JSON manual serialization | writing dart model classes according to JSON | online automatic conversion of dart classes according to JSON)
The left value and the right finger explain better
Gbase 8C system table PG_ auth_ members
Pytest (6) -fixture (Firmware)
【 tutoriel】 Chrome ferme les cors et les messages de la politique inter - domaines et apporte des cookies à travers les domaines