attach to today process and services - Windows Mobile Development and Hacking General

Compared with OS like windows xp, window mobile is limited with max process around 30. when it is reached to this figure, the os will kill one or more to keep this limit.
So does anyone know if it is possible to create a program by using the way like attaching to today (should be shell.exe I think) or using services to keep the number of process low? and is there any limitation by using such ways?

Well actually the number is not 'around 30' it is exactly 32 according to WM documentation.
But you rarely reach this number due to other considerations.
Still there are some things that do not count as a process, namely DLLs.
You can create a today plugin or a service DLL.
The limitation for services would be the size of the virtual memory slot they occupy.

Thanks, the number 30 is based on my experience. I have tried to open 100 processes by mortscript and in the end, only 30 or less was survived on my wm6 device. This figure is even smaller for my wm2003se device, it is just around 20.
I am really waiting for wm7, so I can run as many program as I like without considering any program being killed by the OS.

mic2007 said:
Compared with OS like windows xp, window mobile is limited with max process around 30. when it is reached to this figure, the os will kill one or more to keep this limit.
So does anyone know if it is possible to create a program by using the way like attaching to today (should be shell.exe I think) or using services to keep the number of process low? and is there any limitation by using such ways?
Click to expand...
Click to collapse
Hi! You should take a look here: http://forum.xda-developers.com/showthread.php?t=235792
What you need is PerformCallback4 function which is undocumented (excluded from SDK) but still exists there.
Thank you!

mic2007 said:
I am really waiting for wm7, so I can run as many program as I like without considering any program being killed by the OS.
Click to expand...
Click to collapse
One thing to keep in mind is this: each process takes up system resources (real memory, virtual memory, GDI, etc)
32 is the max system managing capability and that includes processes run by the system not just the ones you start.
The reason you got the low (and different) numbers is most likely because your device ran out of memory before you reached the quota or there were processes running in background you were not aware of.
While the promise of running more than 32 processes on WM 7 architecture is nice we can only hope it will be accompanied by more than 64MB of RAM or it will be pretty useless...

Yes, low memory is another factor that the OS kill one or more processes to free up resources. Supposedly WM7 is based on CE 6 kernel that should allow storage card to be used as RAM, if that is the case which means the distance between desktop and handheld device will be much closer.

Using SD as RAM is about the last thing you want to do!
I have not heard of this feature but even the fastest cards (assuming the device will have a faster bus to support these speeds) are too slow to act as RAM.
Or perhaps you are referring to using it as swap space like the hard drive on a PC? That can work but speed would still be sacrificed.

Related

++++ We are solving Universal's memory leak problem... ++++

Bigface title to a not sure method, but with hoping success for the object.
I think everybody is fighting with this nerve-racking memory bug in wm5+vga+universal thing.
Me too.
Very very hard.
I'm very angry with this statement.
I bought the newest, most professional PDA with the oldest, most amateur speed.
It is not new for anybody, I'm sure.
I've opened this topic to solve this *******, because I think ROMupgrade is coming very slow.
I tried hundreds of different things to keep my RAM's free memory and get my Jasjar/MDApro/Exec more speed.
I'd like to share my experience to you and I'd like you to share your experience to us, to understand why does it happen.
OK....so.....
1) My first and biggest remark in this theme:
gwes.exe (this is a system process, which is runnig continously with the system to let us using functions of our device)
It is runnig with the following modules: (on my device, it is not sure all on yours too, but I think almost)
lrgwesex.dll
touch.dll
commctrl.dll.0409.mui
commctrl.dll
aygshell.dll
keybddr.dll
ddi.dll
toolhelp.dll
gwes.exe.0409.mui
toolhelp.dll
ceddk.dll
coredll.dll.0409.mui
ossvcs.dll
ole32.dll
coredll.dll
So...this gwes.exe starts with the system after a soft reset taking about 6MB RAM memory.
If you are watching carefully, when your RAM is getting less this gwes.exe is getting bigger.
In one of my examples after a soft reset I had 24MB free memory, and when I had just something like 4MB I checked the running services.
And you know what???
gwes.exe was using by then 19.5MB from the memory!!!!!!!!!!!
So I think when you start an application, system files are using more memory with applications, but when you close the application you have just more with the memory using by this application but less with the memory using by the system with this application.
I'm not sure with this, but i'm sure there is a big problem with this gwes.exe service.
I found more processes (device.exe, filesys.exe, cprog.exe, shell32.exe, repllog.exe) which are doing something the same but not that much than gwes.exe.
So if somebody has some reflections about this write it down to us!
2) A lot of people say there is a hack in the registry / storage manager cache keys which we increase, system will operate with higher speed.
I'm not sure now.
I tried a lot with different keys, and my suggestion is totally the opposite than that: when I set different cache keys (glyphcache, storage cahes...) to zero the system eats less memory and something the same with the speed.
Interesting.
I don't have exact results in these points, but thinking about somewhere here the answers.
Please help us to find the solution together to solve this irritating bug!
Sorry for my english, I'm hungarian.
THX
Tuningszöcske (It is in english something like Tuning-Grasshoper)
Here are my results ...
After Reset
=======
gwes 6.49 MB
filesys 1.86 MB
shell32 1.95 MB
cprog 2.12 MB
device 1.46 MB
services 215 KB
connmgr 91 KB
After Bloating
=========
gwes 12.7 MB
filesys 2.7 MB
shell32 2.39 MB
cprog 2.12 MB
device 2.3 MB
repllog 555 KB
services 407 KB
connmgr 111 KB
GWES really does bloat up a lot over time. Did a search on the net and it appears to be graphics related ...
It's good to see other's same results.
I'm searching for the answers countinously too...
I never have a memory issue with my dopod900, even after a week of usage with various games and application, the memory still remain around 22++M. Will try to check up the result and post it here.
I also want to know why........
After the reset, my machine has around 20M left and after a while, only 11M left and that's last for quite a long time. I have no experience that the memory is only around 4M....
Cheers,
chtan said:
I never have a memory issue with my dopod900, even after a week of usage with various games and application, the memory still remain around 22++M. Will try to check up the result and post it here.
Click to expand...
Click to collapse
Are you using the stock machine without all the tweaks ? I mean have you applied optimizations like cache settings, etc ?
I'm just wondering if it might have something to do with some of the changes we made to improve performance :?
The issue is partially duie to Microsoft, but also partially due to 3rd party developers. I know for a fact that a lot of developers do not bother to have their applications issue defragment or compact instructions to the operating system after closing. They take up place and resources in the memory heap but do not "give them back" after they close.
You can blame the Universal as much as you want, but in my opinion it's one hell of a machine that had the misfortune to be the first officially released WM5 machine out there. Microsoft is indeed working on speed, stability and other issues form their end (the latest O2 Exec rom is by far the fastest and most stable ROM there is), but the developers need to do their bit as well and start working on their program's behaviour.
"If a kid does not tidy up his room, it's likely it will start losing things"
Wiz said:
The issue is partially duie to Microsoft, but also partially due to 3rd party developers. I know for a fact that a lot of developers do not bother to have their applications issue defragment or compact instructions to the operating system after closing. They take up place and resources in the memory heap but do not "give them back" after they close.
You can blame the Universal as much as you want, but in my opinion it's one hell of a machine that had the misfortune to be the first officially released WM5 machine out there. Microsoft is indeed working on speed, stability and other issues form their end (the latest O2 Exec rom is by far the fastest and most stable ROM there is), but the developers need to do their bit as well and start working on their program's behaviour.
"If a kid does not tidy up his room, it's likely it will start losing things"
Click to expand...
Click to collapse
Hmmm, you would think that Microsoft would be smart enough to put in some checks to automatically release the memory used by a an application after it closes :?
I don't blame the universal, the hardware is fine and I'm quite happy with it. I do however blame Microsoft. WM5 is just soooo slow. If I didn't do all the performance tweaks that's been discussed here, I don't think I can live with this device. You have to understand that I come from using 3 generations of Palm devices previously, and even though they are using much slower processors, they are waaay more responsive than WM5.
The last Palm I used was the Sony Clie NX70. I used it for 2 years without having to do ROM upgrades, etc. and it worked just fine. One would think that given the number of years that Microsoft had to improve WM, that they would be able to do a better job. As it is now, I'm finding all kinds of weird bugs all over.
Well, I'm just frustrated, sorry for ranting :lol:
christan said:
The last Palm I used was the Sony Clie NX70. I used it for 2 years without having to do ROM upgrades, etc. and it worked just fine. One would think that given the number of years that Microsoft had to improve WM, that they would be able to do a better job. As it is now, I'm finding all kinds of weird bugs all over.
Well, I'm just frustrated, sorry for ranting :lol:
Click to expand...
Click to collapse
I have been making the same point - M$ should know better and memory management is not bleeding egde tech. My Symbian devices have rock solid memory management, they just keep running for weeks and months without the need for a reset. For a US$1000 we should expect better quality all round. Lets hope in te next 6 months we finally get what we paid for.
jah said:
christan said:
The last Palm I used was the Sony Clie NX70. I used it for 2 years without having to do ROM upgrades, etc. and it worked just fine. One would think that given the number of years that Microsoft had to improve WM, that they would be able to do a better job. As it is now, I'm finding all kinds of weird bugs all over.
Well, I'm just frustrated, sorry for ranting :lol:
Click to expand...
Click to collapse
I have been making the same point - M$ should know better and memory management is not bleeding egde tech. My Symbian devices have rock solid memory management, they just keep running for weeks and months without the need for a reset. For a US$1000 we should expect better quality all round. Lets hope in te next 6 months we finally get what we paid for.
Click to expand...
Click to collapse
I sure hope someone here can figure out a hack to fix this soon, cause as it is now, I'm having to soft reset at least once a day, quite often more.
Can any users here who are NOT experiencing the memory leak issues come forward ? I think we would all like to know what we're doing differently that might be causing the memory leaks ...
chtan said:
I never have a memory issue with my dopod900, even after a week of usage with various games and application, the memory still remain around 22++M. Will try to check up the result and post it here.
Click to expand...
Click to collapse
Hi chtan!
Is it possible to ask you to backup your registry to a file and upload here?
Just to see what is different in your system than ours.
And which is your ROM and ExtendedROM version?
THX
Hint
Hi Guys,
The above phenomenon is due to the reason that now we all have data in the flash memory.I was using earlier Nokia Symbian phones, viz 6600,9500...in all these the same used to happen and I had to restart the device...but there are 3rd party softwares, which compress the RAM if the above thing happens and we are at the initital full RAM memory w/o restarting the device...like Stacker, Switcher etc...similarly we also have "Place Maker" for Smart Phones...to do the same...someone can try this app...or someone can make an app to do the same...I hope this gives some light to solve this problem..
Re: Hint
hdubli said:
Hi Guys,
The above phenomenon is due to the reason that now we all have data in the flash memory.I was using earlier Nokia Symbian phones, viz 6600,9500...in all these the same used to happen and I had to restart the device...but there are 3rd party softwares, which compress the RAM if the above thing happens and we are at the initital full RAM memory w/o restarting the device...like Stacker, Switcher etc...similarly we also have "Place Maker" for Smart Phones...to do the same...someone can try this app...or someone can make an app to do the same...I hope this gives some light to solve this problem..
Click to expand...
Click to collapse
Yes, you are right.
This is a secondary option to solve this problem.
But I don't know any application for pocket pc which does RAM-compression.
Do you know one?
Re: Hint
Tuningszocske said:
hdubli said:
Hi Guys,
The above phenomenon is due to the reason that now we all have data in the flash memory.I was using earlier Nokia Symbian phones, viz 6600,9500...in all these the same used to happen and I had to restart the device...but there are 3rd party softwares, which compress the RAM if the above thing happens and we are at the initital full RAM memory w/o restarting the device...like Stacker, Switcher etc...similarly we also have "Place Maker" for Smart Phones...to do the same...someone can try this app...or someone can make an app to do the same...I hope this gives some light to solve this problem..
Click to expand...
Click to collapse
Yes, you are right.
This is a secondary option to solve this problem.
But I don't know any application for pocket pc which does RAM-compression.
Do you know one?
Click to expand...
Click to collapse
By RAM compression, do you mean an active app that runs in the background to automatically compress stuff in RAM then decompress stuff in the RAM on-the-fly when used ?
If it is what I think it is, I don't think RAM compression is the way to go unless there is absolutely no other solution, cause compression-decompression will have a significant performance impact.
I think it's more important to get to the root of the problem
NO.
There are many applications for PC which make the RAM free from unused services, applications, files...
Using this method, you don't need to restart your machine.
It worth it for me to push a button or a shortcut to free the memory without a softreset.
Tuningszocske said:
NO.
There are many applications for PC which make the RAM free from unused services, applications, files...
Using this method, you don't need to restart your machine.
It worth it for me to push a button or a shortcut to free the memory without a softreset.
Click to expand...
Click to collapse
Opps, I misunderstood the use of the term "Compression" there ...
Yes, if someone can come up with an app that can "clean" up the RAM, that would be good too
Wiz said:
The issue is partially duie to Microsoft, but also partially due to 3rd party developers. I know for a fact that a lot of developers do not bother to have their applications issue defragment or compact instructions to the operating system after closing. They take up place and resources in the memory heap but do not "give them back" after they close.
You can blame the Universal as much as you want, but in my opinion it's one hell of a machine that had the misfortune to be the first officially released WM5 machine out there. Microsoft is indeed working on speed, stability and other issues form their end (the latest O2 Exec rom is by far the fastest and most stable ROM there is), but the developers need to do their bit as well and start working on their program's behaviour.
"If a kid does not tidy up his room, it's likely it will start losing things"
Click to expand...
Click to collapse
No hack or tweak applied, everything in stock condition. This confirmed my suspicious that Exec and I-mate only having this problem and this is due to their highly customized rom set.
That is strange.. I also have Dopod 900 and suffer from the same problem of memory leaks. The first time I got my Dopod 900 with factory default settings and applications, I played with it for 2 days and noticed that the memory went down to 15++ M.
So I would assume that without any 3rd party applications installed, memory leaks problem is there..
Chtan!
Then you could be a magician, because - i think - we all use the ROM with factory settings after a hard reset, and then - same as you -, when we install a lot of different applications and games, we have the memory leak.
So, what about this registry backup for us?
Or can you write it here the apps and games you use?
I have not performed a soft reset for 5 days. I am performing a test on how long my EXEC can last without having to perform a soft reset. I use mine regularly everyday, about an hour on phone calls, 2 hours on browsing using PIE, the usual opening and closing of applications, and I leave it at night charging while playing a DVD on a continuous loop for non-stop movie playback. I do admit the only time I notice slow downs (4 seconds to open an application) is if I leave about 10 open applications at the same time running in the background. That is why I make sure I close all open applications after use using Handy Menu's option to close all. As of now here is my memory allocations:
Storage
Total: 43.72 MB
In use: 14.52 MB
Free: 29.19 MB
Program
Total: 49.93 MB
In use: 30.94 MB
Free : 18.99 MB (with active sync open and running attached to my computer) If I unplugged my EXEC and close active sync, it goes back to 20.19 MB
These are all my open applications and memory usage without any slow downs:
gwes.exe: 7.48 MB
filesys.exe: 2.72 MB
device.exe: 2.43 MB
cprog.exe: 2.33 MB
shell32.exe: 1.43 MB
repllog.exe: 499.69 KB
services.exe: 227.76 KB
tmail.exe: 163.62 KB
connmgr.exe: 131.81 KB
HandyMenu.exe: 123.81 KB
rapiclnt: 115.90 KB
poutlook.exe: 47.90 KB
SDDaemon.exe: 47.90 KB
MemMaid.exe: 23.90 KB
shfind.exe: 19.90 KB
srvtrust.exe: 7.90 KB
NK.EXE: 0 Bytes
Even with these applications open. My EXEC runs fine with no slow downs.
I am happy with my EXEC. Even after 12 hours of continuous Movie playback at night, I don't feel my EXEC over heating. This thing is amazing!

More program memory?

Does anyone know how I can get more program memory on my Wizard? I've come to the conclusion that the only way to get zippy program access on the WM5 device is to leave the programs running. Unfortunately I'm always running into "low on memory" conditions. With no software running I have 20 meg free program memory. With my regular suite of tools running I'm down to 4 megs making use of pocket IE limited. I looking for either a software or hardware solution.
Thank you
Richard
i second the question...
is there maybe a way to use the storage card for program memory?
Sadly, there is no easy way to increase the RAM available AND keep programs "zippy".
My personal solution is, set programs to close (with Pocket Plus or any other similar program) and overclock.
yeah, i am doing the same like romp, but if we can find a way to repartiion the memory of the device to make more available memory for the apps will be great
closing works but not the answer
I had the skey program set to close apps except the ones I specified but truthfully this isn'th the best answer. WM5 progs take to long to initially load so I like to leave them open to have the speedy appearance of a treo650. The list of programs I had set to minimize on close with skey was more than available memory would be able to handle.
I did check on a hardware solution and it appears that on WM5 devices we are out of luck. PPCtechs tried on a few treo 700W's with no luck memory size is hard coded into the OS.
Shame too since I'm almost a convert to this device for hacking reasons. For business use the Palm OS treo's kill WM5 devices and that's shamefull since OS updates have been almost nonexistent. Heck even palm os can use 4 gig cards with fat32.
Anyway different thread i've found enough third party software to make my wizard experience close to the treo's. I must say this though no matter what I have done this is not a one handed use device. it requires the pen too often.
Cheers

Simple questions on memory allocation

It took me a while to realize I'm confused, but it seems I'm confused about Hermes/WM5 memory allocation.
I've been using PocketPC's since PPC2000, there (and in PPC2002, PPC2003) the o/s resides in flash, and RAM is partitioned between storage and program memory. Thus, loading lots of applications to the device reduces the amount of program memory available for actually running programs. Those o/s had a slider to influence the balance of memory allocated.
Since I got my 8525 I've been assuming that it worked the same way, despite the loss of the memory slider. There have always been indications that I was wrong though - I never saw the memory balance shift, and nothing I've done seems to increase the program memory. Even removing several applications from Storage and installing them in Extended ROM didn't help. I'd LIKE to free up more program memory so apps like Mapopolis can use a LOT of it....
My Start->Settings->System->Memory page shows 56.22MB (Total) for Storage and 49.08MB (Total) for Program. When reading about the Samsung "stacked" (aka MCM) processor I realized that none of the variants listed had more than 64MB SDRAM, and 56.22+49.08 > 64!!!
It seems like either "Storage" now equals flash memory (vs volatile RAM in PPC2003 et al.) and/or there's more the 64MB of SDRAM in the Hermes or something. If all 64MB were available I'd expect more Program memory than 49MB....
I'm confused - Can someone explain or point me to an explanation of how the Hermes/WM5 allocates that SDRAM?
TIA,
Richard
Hermes has Samsung KD5657ACA-D090 chip provides 128Mb NAND Flash + 64Mb Mobile SDRAM. See here:
http://wiki.xda-developers.com/index.php?pagename=Hermes_HardwareOverview
pof said:
Hermes has Samsung KD5657ACA-D090 chip provides 128Mb NAND Flash + 64Mb Mobile SDRAM.
Click to expand...
Click to collapse
Thanks pof! That's the one I thought it was - but I'm even more confused about the allocation of the 64MB now. If all of it goes to Program, how come I only get 49MB? If it gets split, how come Storage + Program is more than 64MB?
Ugh, I'm confused
Richard
rsolomon said:
Thanks pof! That's the one I thought it was - but I'm even more confused about the allocation of the 64MB now. If all of it goes to Program, how come I only get 49MB? If it gets split, how come Storage + Program is more than 64MB?
Ugh, I'm confused
Richard
Click to expand...
Click to collapse
These sometimes confuses people...
But, the stated "Storage: 56.96" is the 128MB part, in that resides the whole OS, ExtROM etc. So in the end there is only 56.96 available for the system to use, plus the other installed programs that cuts it down to about 30MB free after a clean boot (that's just the way it is thanks to our lovely microsoft programmers <3)
The thing is that when you boot your device, the machine loads the whole OS to the running program memory and allocates some of it to important system files, that's why there is 48.80 total and then there is the rest running programs that take space, and about 30MB is free after clean boot on my device.
That's the way it has been programmed, mobile device programming is alot frustrating than on desktop PCs, so the memory handling is very important.
And don't mix those two when you said "56.22+49.08 > 64!!!", they are two separate memoryes. (56.xx being the 128 part and 49.xx being the 64 part).
Don't ask why microsoft excluded the memory allocation slider, maybe the older devices and OSs were differently programmed (memory handling).
gvoima said:
But, the stated "Storage: 56.96" is the 128MB part, in that resides the whole OS, ExtROM etc. So in the end there is only 56.96 available for the system to use, plus the other installed programs that cuts it down to about 30MB free after a clean boot (that's just the way it is thanks to our lovely microsoft programmers <3)
Click to expand...
Click to collapse
That much is logical - not all 128MB of the flash is allocated to the file system mounted as "Storage" - clearly some is for Bootloader, Radio, etc.
Are you really saying the OS and user-writable storage share a filesystem? That seems counter-intuitive to me, though presumably there are user-inaccessible flags to prevent over-writing system files. In PPC2003 there was a ROM file system and a RAM filesystem overlaid so they appeared together. You seem to be saying that in WM5 the user filesystem lives in a portion of the flash - unlike a portion of RAM as it did in PPC2000-2003.
gvoima said:
The thing is that when you boot your device, the machine loads the whole OS to the running program memory and allocates some of it to important system files, that's why there is 48.80 total
Click to expand...
Click to collapse
So you're saying WM5 hides ~16MB worth of RAM usage? Did PPC2003 execute O/S files in place then? I mean I can see that the o/s and running programs would take up space, but it's unclear to me why WM5 would report total memory lower than 64MB in that case.
TIA,
Richard
See also this thread:
http://forum.xda-developers.com/showthread.php?t=278903
Got it
pof said:
See also this thread:
http://forum.xda-developers.com/showthread.php?t=278903
Click to expand...
Click to collapse
Ok, that's got it - the MSDN blog links (that Lurker0 linked http://forum.xda-developers.com/showpost.php?p=1027392) at least squared me away. Lemme see if I can summarize my own questions:
0) Prior to WM5 most of the OS *was* eXecute In Place (XIP) - certainly on the devices I owned. Now most devices do not support XIP for most of the O/S so more RAM is used in general to compensate.
1) Prior to WM5, PocketPC "Storage" *was* in RAM (for user data), with WM5 it's ALL in flash. Thus there's no sense installing to ExtendedROM vs Storage, because you still can't free up any RAM
2) WM5 *does* hide ~15MB of RAM usage - because they want to. So "Program" really is RAM and it's just stupid that reported Total doesn't match physical Total.
I was tainted by my previous PPC exposure I guess. Half the RAM means that Mapopolis for instance will then always be slower on my WM5 device than on my PPC2003 device - half the SDRAM clock speed doesn't help here either (iPAQ 5555 vs Hermes)
Thanks all!
Richard
1. There are still reasons to use Extended ROM instead of the Storage. The Storage is required for many tasks by the OS, it is wise to keep at least some megs of it free. But, as you can read around, not everything is recomennded for installing on a flash card. Here the External ROM can be in help, adding the storage that is always accessible by OS, and is not used by other means.
2. You may call it "hide" but WM5 actually uses it. Well, the way it uses such an amount of RAM makes it hidden from the tools that calculate total available RAM. But that paging pool is a wise solution. For instance, Symbian OS 9.1 phones (S60 3rd edition, UIQ3.0) use RAM uniformly, and, as such, the same 64MB is just not enough for all (OS, built-in apps, user installed apps). WM5, employing the virtual memory, uses RAM a smarter way.
Lurker0 said:
2. You may call it "hide" but WM5 actually uses it. Well, the way it uses such an amount of RAM makes it hidden from the tools that calculate total available RAM. But that paging pool is a wise solution. For instance, Symbian OS 9.1 phones (S60 3rd edition, UIQ3.0) use RAM uniformly, and, as such, the same 64MB is just not enough for all (OS, built-in apps, user installed apps). WM5, employing the virtual memory, uses RAM a smarter way.
Click to expand...
Click to collapse
Agreed - by "hide" I simply meant not reporting it. I'd be fine with MS showing 64MB total with 14MB used - I just got thrown by showing 50MB "Total". I grok their rationale for that reporting choice, I just don't agree
As I alluded above, I have a specific target app which performed well on a PPC2003 system with 128MB of RAM and which is performing much slower on a WM5 system with 64MB RAM. Reducing the app's dataset (maps in this case) brings performance back in line, so I believe I have a memory issue. I'm running an older version of the app due to a bug which is still outstanding against the WM5-certified versions, so I'm likely not getting any help the app COULD be giving the OS. Bummer for me
On the plus side, I've learned a bunch about WM5 memory usage which I didn't know yesterday....
Thanks!
Richard

What is the least amount of Free program memory for a still normal operation on 614c?

I still have 42 mb of free program memory (70 mb used) yet i can only start one application at a time before the app closes by itself if i start another program.
I have asked this memory problem question before but have got no reply. Never mind i will ask this question another million times if i have to to get some explanation. Hopefully somebody whose had similar problem and got it fixed can help.
I have even disabled, in my opinion, those useless startup items like ssactivate, addsignature, addaccount, mmisyncapp, vcdaemon.
Is there anybody here who understand programming specifically for Ipaq 612/614 devices regarding the least amount of memory required before the device starts acting up?
well in WinMo there is a limitation with the vm (slot) such that depends on the rom design can cause even you still have free ram but there is no vm space to allocate, see here for detail .
What rom are you using? I think even the stock rom wouldn't do that..may also relate to apps you are using
thanx for your response.
My os is version 6.1 (build 20757.1.4.0)
I will give the article a read. So I guess i have to upgrade 6.5? And if i do upgrade, would it be o.k. to restore 6.1 backup to 6.5?
thanks again
6.5 does not make it better unless we have a native nk.
Are you using the 6.1 rom made by russian? I suggust you try rom from sergiorus if you like 6.1.
delete..double post
Keyx,
The rom i'm currently using is made by Yegv001.
The article is not written in "english", but I guess our device 61x is not a native NK am i right?
Looking for Sergorius now.
well i guess that article i link to is probably too technical..
anyway in normal use you shouldn't encounter such problem..do you use a task manager? winMo has a limitation of 32 process so if you never close app you may run into the problem if you really open a lot of programs. Check your task manager -> view -> process to see how many process you are running
Hi,
Only newer devices have Native Kernel (NK) and not Ipaq 61x?
and
If i have to start reinstalling everything again from zero, which would you recommend me using, 6.1 or 6.5?
and
I don't get it, why do manufacturers keep giving us larger and larger memory if we can only use 32 processes? I used to have a device with only 32Mb or ram and can only run a few applications and wished i could have larger RAM. Now that I have a device with a bigger ram, I'm limited by the number of processes allowed!
and one more shameless question...
IS THERE A WAY OF REMOVING THE 32 APPLICATION LIMIT??? (sorry the caps)
Yes i have 32 processes running, but i need them all...
heeelllppp
sabertooth said:
Hi,
Only newer devices have Native Kernel (NK) and not Ipaq 61x?
and
If i have to start reinstalling everything again from zero, which would you recommend me using, 6.1 or 6.5?
and
I don't get it, why do manufacturers keep giving us larger and larger memory if we can only use 32 processes? I used to have a device with only 32Mb or ram and can only run a few applications and wished i could have larger RAM. Now that I have a device with a bigger ram, I'm limited by the number of processes allowed!
and one more shameless question...
IS THERE A WAY OF REMOVING THE 32 APPLICATION LIMIT??? (sorry the caps)
Yes i have 32 processes running, but i need them all...
Click to expand...
Click to collapse
well your problem is due to 32 process limit of WinMo(or technically is the underlying limit of WinCE 5.x) so it is not relate to the vm(slot) problem. We probably never get native 6.5 nk.exe for 61x since hp is not planning to upgrade it to 6.5 but that is a different issue
If you ever going to reinstall I would say choose whatever suit you the best. 6.1 is pretty stable while 6.5 give you some ui changes but that would depend whether you like the change or not.
WinCE 6 remove the 32 process limit but WinMo 6.x is still base on WinCe 5.x. WinMo 7 will be based on WinCE 6.x but until then we are struck with the 32 process limit.
so for now you would better off use a task manager to close some programs
thanks so much for your help keyx
I will now search for a program that can automatically close services that are no longer required which are still running in the background. Or can do so at a press of a button.

Windows Mobile CE5 32 MB memory limit removal?

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?
I seriously doubt it, as each application gets a 32MB "slot" of virtual memory to use, so there's a 32MB per process limit.
Are you using QEMU?
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!
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.
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...
charge1313 said:
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...
Click to expand...
Click to collapse
Solution.
With a 32MB page per process, your only choice is to develop your app in multiple processes.
Sorry!

Categories

Resources