Message12538
Refer to #556025 list(xrange(1e9)) --> seg fault for
the history. The test in test/test_b1.py causes OS X
10.2.1 to start swapping instantly and never stopped
until I killed the process after 5 minutes.
I wasn't brave enough to let it run for any longer.
list(xrange(1e09)) or even list(xrange(sys.maxint)) works:
Traceback (most recent call last):
File "test_b1.py", line 553, in ?
list(xrange(sys.maxint))
MemoryError
PhysMem: 55.7M wired, 300M active, 150M inactive,
506M used, 6.19M free
VM: 4.19G + 76.9M 36909(35) pageins, 1505603(200)
pageouts
PID COMMAND %CPU TIME #TH #PRTS #MREGS RPRVT
RSHRD RSIZE VSIZE
1157 python 9.1% 0:33.72 1 13 1186
373M+ 1.55M 160M- 2.29G+ |
|
Date |
User |
Action |
Args |
2007-08-23 14:06:00 | admin | link | issue616019 messages |
2007-08-23 14:06:00 | admin | create | |
|