What means exactly "Memory error"?
Albert Hofkamp
hat at se-46.wpa.wtb.tue.nl
Fri Apr 25 06:56:29 EDT 2003
On Thu, 24 Apr 2003 18:43:04 +0200, Bo M. Maryniuck <b.maryniuk at forbis.lt> wrote:
> On Thursday 24 April 2003 17:26, Tim Peters wrote:
>> [Bo M. Maryniuck. gets a traceback ending with
>> File "/usr/lib/python2.2/site-packages/_xmlplus/dom/Event.py",
>> line 93, in initEvent
>> self.bubbles = canBubbleArg
>> MemoryError
>> ]
>> I can't help with your app, but I can tell you what MemoryError means.
>
> [skipp]
>
>> The most likely cause is that you've
>> simply run out of memory (#1 above) -- but that's more a symptom than an
>> explanation. Don't expect it to be easy to resolve.
>
> Yes, you're right: I'm just out of memory, though server has 4G RAM... :/ Have
> you at least any ideas how to decrease/pack collected data to avoid fat
> growing?
Do you need all data DOMmed at once?
You may be able to have one DOM tree at a time, dropping and reloading
everytime you switch file.
(or a bit more luxurious, cache the last n files).
Albert
--
Unlike popular belief, the .doc format is not an open publically available format.
More information about the Python-list
mailing list