Forum > PDAs and Smartphones
Wince-arm appl low memory problem
roeug:
My App starts and runs OK (WM5). It loads some data at start-up. When user try to load additional data (smth. like relational tables) there is "Low memory" wince message (for the third or the forth additional table depending on the user's choice). I think that the problem is not in LCL. The application works with huge data arrays. (huge for my iPOD but small for PCs. PCs have pagefile, I know nothing about WM5 memory management,- no RTFM):
From http://blogs.msdn.com/windowsmobile/archive/2006/03/31/566187.aspx
> In Windows CE, we have a limited version of the desktop pagefile that we call the "PagePool"
> You can't put the pagefile on removable media....
I think the problem could be solved in the frame of FPC.
What your ideas for the workaround? Swapping on Storage Card,- how ? Registry settings to use Storage Card as "PagePool",- how ? Virtual memory,- how ?
Christian:
--- Quote ---huge for my iPOD but small for PCs
--- End quote ---
You have windows mobile running on an iPOD ? Would be nice to know how :)
Waht when you dont load your data into ram ? and work only with an record and load only one record ?
roeug:
--- Quote from: "Christian" ---
--- Quote ---huge for my iPOD but small for PCs
--- End quote ---
You have windows mobile running on an iPOD ? Would be nice to know how :)
Waht when you dont load your data into ram ? and work only with an record and load only one record ?
--- End quote ---
Sorry, English as a third language, iPAQ HP rx1950
Christian:
So why you need to hold everyhing in memory ?
Simply hold only one item on time in memory and you can work with gigabytes of data.
roeug:
--- Quote from: "Christian" ---So why you need to hold everyhing in memory ?
Simply hold only one item on time in memory and you can work with gigabytes of data.
--- End quote ---
Yes, in my case it should work. If I would have a lot of INTER-relational tables how can I solve the problem?
Navigation
[0] Message Index
[#] Next page