MemoryError Numarray

  • Thread starter Bernhard Reimar Hoefle
  • Start date
B

Bernhard Reimar Hoefle

I have the following python script:
#######################################
from numarray import *

while 1:
a=arange(1,300000000)
b=a*100/100
del a
del b
#######################################

This script crashes after a few minutes with an error:

MemoryError: Couldn't allocate requested memory

How can I avoid python to use new memory space for each loop?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,483
Members
44,902
Latest member
Elena68X5

Latest Threads

Top