[PyQt] MemoryError: can I use more?

Echavarria Gregory, Maria Angelica m.echavarriagregory at umiami.edu
Mon Feb 15 00:22:22 GMT 2010


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,

M. Angelica Echavarria-Gregory, M.Sc., E.I.
Ph.D Candidate
University of Miami
Phone 305 284-3611
From: scott at scottballard.net [scott at scottballard.net]
Sent: Friday, February 12, 2010 7:29 PM
To: Echavarria Gregory, Maria Angelica
Cc: pyqt at riverbankcomputing.com
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...

> 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    PyQt at riverbankcomputing.com
> http://www.riverbankcomputing.com/mailman/listinfo/pyqt

More information about the PyQt mailing list