PDA

View Full Version : Windows Mobile CE5 32 MB memory limit removal?


xborfi
13th November 2009, 12:42 PM
hello

is there any hack to bypass or increase the 32 MB memory limit in WM 5 , 6 , 6.1 Or 6.5?

I am using a program that stops at 32 MB memory usage and It needs around 40+ MB to complete?
:rolleyes:

l3v5y
13th November 2009, 03:29 PM
I seriously doubt it, as each application gets a 32MB "slot" of virtual memory to use, so there's a 32MB per process limit.

kholk
13th November 2009, 03:57 PM
Are you using QEMU? :D

However, maybe this is possible.
We'll know if it's possible as soon as I try to run QEMU and install WindowsXP on my HTC HD2 ;)
If the WinXP installation will be fine and taking over 32MB of RAM, then it's possible even on other devices.

Why I'm talking about HD2?
This is simple.
The HD2 got a lot of RAM and this is a new device.. and maybe HTC has removed this limit. If this will work, I hope the limitation isn't in the NativeKernel!

ramdroid77
13th November 2009, 05:05 PM
The limitation is in the native kernel. It doesn't matter how many RAM your device actually got. The whole memory management is build up on it. I doubt you could change that with a little hack. Actually I guess there's a lot more behind it than only a merely "if size >= 32K"....

Wait for WM 7 which is based on Windows CE 6 (or later) which doesn't have that limitation anymore, since they completely rewrote the native kernel therefore.

charge1313
13th November 2009, 05:52 PM
I guess you could use multiple processes... It sucks, but I don't see another choice. The limit per process is 32 Mb. There is no limit on an app per-se afaik...

l3it3r
13th November 2009, 06:25 PM
I guess you could use multiple processes... It sucks, but I don't see another choice. The limit per process is 32 Mb. There is no limit on an app per-se afaik...

Solution.

With a 32MB page per process, your only choice is to develop your app in multiple processes.
Sorry!