Thanks very much Scott, I have managed to keep my memory footprint somehow low by storing in disk my list structures and subdividing long, memory-consuming chains of calculations, but still, memory will be the limitation of my application... As you say, the compilation in 64 bit can be troublesome, maybe in a future stage I can make it happen for 64 bit... You taught me what I needed to know!
Thanks to all who replied too, Angelica. M. Angelica Echavarria-Gregory, M.Sc., E.I. Ph.D Candidate University of Miami Phone 305 284-3611 ________________________________ From: Scott Ballard [[email protected]] Sent: Sunday, February 14, 2010 9:48 PM To: Echavarria Gregory, Maria Angelica Cc: [email protected] Subject: Re: [PyQt] MemoryError: can I use more? I should have mentioned that I believe you need to run Python and PyQt compiled for 64 bit to use the extra memory. Maybe a wiser computer user can chime in on this one!?? It sounds like the 32bit emulation is running into the same memory limitation on the 64bit machine as the 32 bit machine. This might be a little tough since I believe you need to compile PyQt 64bit yourself. I don't think there are any pre-compiled 64bit installers for Windows. In computer graphics our apps need to be compile specifically for 64bit to use the extra memory. Let us know when you solve this as I'm sure it effects a lot of people. Cheers, -Scott Scott Ballard CG Supervisor / Pipeline TD http://www.linkedin.com/in/scottballard On 2/14/2010 4:22 PM, Echavarria Gregory, Maria Angelica wrote: Scott, Thanks for the tip of the 0.5GB more... I'm googling it! that might be all I need... Just to let you know that one of the machines I tested my app in is 64 bit and happened the same. The RAM consumed by the OS and other processes is already included in the 2.2 I'm telling... my app enters to work when the RAM is already consumed in ~600 MB in the 3- 32 bit machines ... in the 64 bit machine was exactly the same only that it started a little bit higher because it has windows 7... Do you know if this is normal? should I believe I have a memory bug in my application? Thank you again, Angelica. M. Angelica Echavarria-Gregory, M.Sc., E.I. Ph.D Candidate University of Miami Phone 305 284-3611 ________________________________________ From: [email protected]<mailto:[email protected]> [[email protected]<mailto:[email protected]>] Sent: Friday, February 12, 2010 7:29 PM To: Echavarria Gregory, Maria Angelica Cc: [email protected]<mailto:[email protected]> Subject: Re: [PyQt] MemoryError: can I use more? Unfortunately, Windows 32bit only allows roughly 2.5 gbs of memory in total regardless of the amount of memory on the system. This is a limit of all 32bit OSs. You could try putting the /3GB switch in your c:\boot.ini file (google it for specifics) which should give you another .5gbs of ram. You might need to switch to a 64bit machine. Sorry... -Scott Dear group: I am developing a PyQt application using PyQt 4.3 and Python 2.5.4 in windows 32 OS. The amount of data it works with is huge. I have managed to keep memory footprint low, but have found that, independent of the physical RAM of the machine, python always gives the MemoryError message when it has occupied exactly only 2.2 GB. I have tested this in 4 different machines, all with memory of 3 to 4 GB... I'm amazed. Could any of you please help me figure out how to change that limit? I typed help(MemoryError) and it is a class itself, but that help told me nothing I can use... Thanks, Angelica. _______________________________________________ PyQt mailing list [email protected]<mailto:[email protected]> http://www.riverbankcomputing.com/mailman/listinfo/pyqt __________ Information from ESET NOD32 Antivirus, version of virus signature database 4866 (20100214) __________ The message was checked by ESET NOD32 Antivirus. http://www.eset.com _______________________________________________ PyQt mailing list [email protected] http://www.riverbankcomputing.com/mailman/listinfo/pyqt
