However, my own PyQt program encountered low memory problem. Is there any way to solve my memory problem?
[div align=\"right\"][{POST_SNAPBACK}][/a][/div]
The one down side of using Python is that it's a bit memory hungry. The three solutions are to either reduce memory use by other apps, reduce memory use by your Python app, or use a swapfile.
Reducing memory use by other apps may be as simple as turning off "fast load" for the standard Qtopia apps. If you're not familiar with "fast load" settings, a quick forum search will turn up all kinds of info.
You may also find that your Python app is architected such that it's wasting memory. Unfortunately, how to find and fix problems like that is way beyond what can be taught in a forum post. Google can find you [a href=\"http://blog.ianbicking.org/kata-19-an-optimization-anecdote.html]examples[/url] of Python optimization techniques that may help cut your app's memory requirements. For what it's worth, I've been able to run some pretty healthy Python apps on a lowly SL-5500 by carefully designing the apps to minimize memory use. Using a sqlite database to manage the app's persistant data instead of keeping everything in Python data structures in memory can be a big win.
If you've trimmed the memory footprint for running apps and your Python code as much as practical and you still have problems, you'll need to set up a swapfile. Again, a forum search is the best way to find out how to do that. Keep in mind that swapfiles (due to fairly heavy write activity) can be fairly hard on some SD and CF cards. Choose the location wisely (eg. use an old CF card for you swapfile instead of a brand new expensive 1GB SD card) and disable the swapfile any time you don't need it.
By the way, which version of PyQt is bundled and will you be able to disclose the details of subdirectories in the ex2 file.
The version of PyQt included is PyQt-x11-gpl-3.13 source downloaded from Riverbank's site and built against Python 2.4 and SIP 4.1.1. I'm not planning on posting a dump of the filesystem, but you can always browse the filesystem yourself. The ext2 (and cramfs) file mounts at /opt/QtPalmtop/lib/python2.4 ... everything under there is in the fs image.