How to increase Memory usage for an App in Windows Phone
来源:互联网 发布:mac制作铃声 编辑:程序博客网 时间:2024/05/19 14:17
Windows Phone is gradually getting matured day by day. Considering the current situation, the Windows Phone environment gives a restrictive environment where app developers are restricted to do certain things if not specified beforehand. The developer cannot use Library, Camera, Sensors or even memory at sometimes if not defined beforehand.
A Windows Phone App is limited to use 150 MB at max. But sometimes it is well a requirement to have more than this limit at least for high spec devices to run. To solve this problem, you can define a capability on your App to ensure you have high availability of application memory.
To increase the size of memory usage we add the following node to the Manifest file of Windows Phone App:
<App> <FunctionalCapabilities> <FunctionalCapability Name="ID_FUNCCAP_EXTEND_MEM"/> </FunctionalCapabilities></App>
It is worth mentioning, the Manifest editor tool is not yet capable to display this capability and it is hidden from the tool, but you can still use it.
There is another Functional Capability which will ensure the large memory is available before running the application and opt out the Low memory phones from running the app. If this is your requirement you can use :
<App> <Requirements> <Requirements Name="ID_REQ_MEMORY_300"/> </Requirements></App>
If you use the above capability, the App won’t appear in Windows Phone Store for lower memory phones and it cant be installed in low end devices.
Based on your requirement, you can increase the size boundary from 150 MB to 300 MB or for some devices upto 1GB of application memory usage.
I hope this will help you in real world app development.
Thank you for reading.From:http://dailydotnettips.com/2013/11/13/how-to-increase-memory-usage-for-an-app-in-windows-phone/
- How to increase Memory usage for an App in Windows Phone
- How to Increase the Memory Limit for 32-bit Applications in Windows 64-bit OS
- Memory usage in a 32bit Windows environment (how to avoid ORA-4030 /ORA-12500s
- How to discover memory usage of my application in Android
- How to discover memory usage of my application in Android
- How to discover memory usage of my application in Android
- How to discover memory usage of my application in Android
- How to increase MySQL memory limit?
- How to Monitor Your Network Usage in Windows 8 (And Prevent Paying For The Extra Bandwidth)
- How to optimize memory usage and bundle size of a Cocos2D app
- How to check memory leaks in android app?
- Typical memory usage for objects in java
- How to install an SSH Server in Windows Server 2008
- How to install an SSH Server in Windows Server 2008
- How to Increase CSS Misscount in single instance ASM installations
- How to increase MTT Size in Mellanox HCA
- How to measure memory usage of linux process
- How to use Wise SetupCapture in the Wise Packager for Deployment Server to create an MSI
- MapReduce求年度最高气温值以及combiner的一点认识
- ENetwork Chapter 4 - CCNA Exploration (Version 4.0)
- 内网端口映射软件之80端口映射发布网站
- iOS UITextField 总结最全
- 我的ProtocolBuffer安装日志
- How to increase Memory usage for an App in Windows Phone
- TCL 传引用调用
- jQuery实战小知识
- ACM-威佐夫博弈之取石子游戏——hdu1527
- 浏览器的分类
- 位运算简介及实用技巧(三):进阶篇(2)
- 信息提示控件ToolTip
- [MySQL CPU]线上飙升800%,load达到12的解决过程
- solr的基本使用