我的Windows Mobile应用程序的配置文件内存使用情况(Profile Memory useage for my Windows Mobile Application)

编程入门 行业动态 更新时间:2024-10-24 04:34:39
我的Windows Mobile应用程序的配置文件内存使用情况(Profile Memory useage for my Windows Mobile Application)

是否有工具可以让我分析Windows Mobile应用程序的内存使用情况。

我的应用程序有一段代码正好与总内存的限制相对应。 我试图设置我的代码,以便在需要新引用之前对大对象的引用超出范围。

但我需要一种方法来确定它是否有效。

所以......任何人都知道这样做的方法(在Windows Mobile 5上)。

Is there a tool that allows me to profile the memory usage for my Windows Mobile Application.

My app has a section of code that is right up against the limit of the total memory. I have tried to setup my code so that the references to large objects go out of scope before new references are needed.

But I need a way to see if it is working.

So... any one know a way to do this (on Windows Mobile 5).

最满意答案

您是否看过NetCF CLR Profiler,它是CF 3.5 PowerToys的一部分 ? 它提供了所有对象分配的历史记录,它们的大小,所有者,解除分配等。

编辑

此处概述了分析器的用法。

Have you looked at the NetCF CLR Profiler, which is part of the CF 3.5 PowerToys? It provides history of all object allocations, their sizes, owners, deallocations, etc.

EDIT

Usage of the profiler is outlined here.

更多推荐

本文发布于:2023-08-02 03:25:00,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1368421.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:配置文件   应用程序   内存   情况   Mobile

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!