Re: [PythonCE] ImportError problem

2005-07-07 Thread Brian Retford
CE's memory model is a pile basically. All dll's are loaded into each process's 32mb virtual address space which reduces the amount of memory available for program use and for other DLL loading. It doesn't matter if your pda has 512mb of ram (none of them do, but just as an example), each p

Re: [PythonCE] ImportError problem

2005-07-07 Thread Mark Doukidis
After further googling I found an interesting article: "Windows CE .NET Advanced Memory Management" http://msdn.microsoft.com/library/default.asp?url=/library/en-us/dncenet/html/advmemmgmt.asp Apparently DLL memory management has a few quirks. The following snipit, while referring to Pocket PC 2

Re: [PythonCE] ImportError problem

2005-07-07 Thread Brad Clements
On 7 Jul 2005 at 17:38, Mark Doukidis wrote: > calling all python gurus... > > I have a PythonCE program that loads about 2.5MB of pickles > (about 10 dictionaries with a total of 20,000 objects) > that when running uses about 15MB of "storage". are you using __slots__ ? That should help a lot

Re: [PythonCE] ImportError problem

2005-07-07 Thread Ulrich Eckhardt
On Thursday 07 July 2005 11:38, Mark Doukidis wrote: > I have a PythonCE program that loads about 2.5MB of pickles > (about 10 dictionaries with a total of 20,000 objects) > that when running uses about 15MB of "storage". > [...] > ImportError: DLL load failed: Not enough storage is available to >

[PythonCE] ImportError problem

2005-07-07 Thread Mark Doukidis
calling all python gurus... I have a PythonCE program that loads about 2.5MB of pickles (about 10 dictionaries with a total of 20,000 objects) that when running uses about 15MB of "storage". All works fine on the old IPAQ but I get the following error on the brand new Xda IIs with all its memory.