Recent reports of extra memory on the HTC HD2 have caused quite a few nasty memories for Germans: we were flooded with “fake” memory sticks a few years ago.

In order to prove that the extra RAM on the HD2 was real, an xda-developers member created a test program:

In light of recent discoveries about the HD2′s hidden 128MB RAM, I’ve written a small application which uses the native Win32 API to allocate as much memory as it can (up to 2GB), and verifies it.

Notes:

* This application is designed to test the limits of your device’s memory. In particular, to test if the HD2′s additional 128MB is actually usable or not.
* This application will attempt to allocate as much memory as it can, OS limits notwithstanding. The application allocates memory in the OS’s shared memory space, which means that it isn’t privy to the usual 32MB address space limit.
* Because the application isn’t limited to 32MB memory usage, you don’t need to run multiple instances to consume your memory. Just one instance will do.
* This application does not use .NET, and instead uses the direct low-level kernel memory management functions (VirtualAlloc and VirtualFree) to reserve, commit, and free virtual pages. This means that the application has much more precise control over memory, and can consume memory until only a couple of megabytes remain.
* This application verifies the memory it allocates, by writing a byte pattern to the memory, and reading it out again. This is necessary because the Windows CE kernel does not commit pages to physical memory unless the memory page is read/written from at least once. This also guarantees that the memory is, in fact, usable and valid.

Hit the link below for a CAB and the source code:
http://forum.xda-developers.com/showthread.php?t=627404


Related posts:

  1. HTC HD2 – extra memory can be enabled via ROM patch
  2. Windows Mobile 6 for HTC Blue Angel – part 1: more memory
  3. Fennec vs Windows Mobile
  4. Autorun/autostart applications from a memory card on a Windows Mobile device
  5. Windows Phone 7: don’t change that memory card

Leave a Reply

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting

© 2012 TamsPPC - the Windows Phone Blog Suffusion theme by Sayontan Sinha