out of memory

Roman Suzi rnd at onego.ru
Thu Sep 6 13:06:53 CEST 2001


On Thu, 6 Sep 2001, Carlos Gaston Alvarez wrote:

> What happens when python runs out of memory?
> Is there an exception?

>>> a=range(10000000)
Traceback (most recent call last):
  File "<stdin>", line 1, in ?
MemoryError

> Where are exceptions documented?

In the Python Documentation, of course.
 
> Chau & tia,
> 
> Gaston

Sincerely yours, Roman A.Suzi
-- 
 - Petrozavodsk - Karelia - Russia - mailto:rnd at onego.ru -
 





More information about the Python-list mailing list