How to increase Memory usage for an App in Windows Phone
2014-05-01 17:07
597 查看
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:
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 :
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/
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 the Memory Limit for 32-bit Applications in Windows 64-bit OS
- How to Monitor Your Network Usage in Windows 8 (And Prevent Paying For The Extra Bandwidth)
- Windows Phone Dev Center - How to create your first app for Windows Phone
- How to Use the TimeDistributed Layer for Long Short-Term Memory Networks in Python 译文
- 《How to Use the TimeDistributed Layer for Long Short-Term Memory Networks in Python》学习笔记
- git tip: How to undo an uncommitted change/deletion for a specific file in your working directory
- how to run 2 or more commands in a shell script [for Linux & Windows]
- How To Write A Simple PHP/MySQL Web Service for an iOS App
- windows 10中的ubuntu子系统安装桌面环境的方法(How to install Ubuntu-desktop in windows 10 Subsystem for Linux)
- How to install an SSH Server in Windows Server 2008
- How to make a call in Windows Phone 7 application
- How to Run a Program as an Administrator in Windows 7
- How to control printer orientation(Landscape / Portrait) for an AX report in X++
- Here's an example that shows how to enumerate through the features of a selection set, returning the value of each field in the attribute table except for the geometry colum.
- How to Run a Program as an Administrator in Windows 7
- How to build an OLE DB application for SQL Server CE in Visual Studio 2005
- How to Run a Program as an Administrator in Windows 7
- HowTo compile native C codes to a library for iOS development in Xcode – take Mosquitto as an exampl
- How to use Wise SetupCapture in the Wise Packager for Deployment Server to create an MSI
- How to discover memory usage of my application in Android