Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What are the app memory limits for Windows 10?

The app memory limits for Windows Phone 8.1 are easily found on MSDN. But I cannot seem to find definitive info on memory limits for apps on Windows 10, and especially Windows 10 Mobile.

What are the limits for each device family (Xbox, desktop, phone, IoT)?

like image 447
Ramsay Smith Avatar asked Nov 04 '15 01:11

Ramsay Smith


People also ask

Does Windows 10 have a memory limit?

Remember that 64-bit Windows 10 Pro, Enterprise, and Education will support up to 2TB of RAM, while the 64-bit version of Windows 10 Home is limited to only 128GB.

How much RAM can 64bit app use?

A 64-bit system can access 264 different memory addresses, i.e actually 18-Quintillion bytes of RAM. In short, any amount of memory greater than 4 GB can be easily handled by it.

How much RAM can a 32-bit application use?

The 2 GB limit refers to a physical memory barrier for a process running on a 32-bit operating system, which can only use a maximum of 2 GB of memory.

Can 32gb RAM run Windows 10 4GB?

it is correct that windows 10 32bit only recognizes 4GB of ram.


1 Answers

I found they are available as follows:

  1. Windows.System.MemoryManager.AppMemoryUsage = current memory usage (unsigned long)
  2. Windows.System.MemoryManager.AppMemoryUsageLevel = 0, 1, 2, etc.
  3. Windows.System.MemoryManager.AppMemoryUsageLimit = for 512 MB models seems to be fixed to 185 MB, for 1GB models is 390 MB, and so on (unsigned long)

In our testings, a OutOfMemoryException is raised when AppMemoryUsage is close to AppMemoryUsageLimit and a new object cannot be allocated in contiguous free memspace. Seems that AppMemoryUsageLimit cannot be changed and is a fixed amount depending on the installed RAM, but not pretty sure for the moment.

like image 78
Carlos Alejandro Pérez Avatar answered Jan 01 '23 19:01

Carlos Alejandro Pérez