Mok-Kong Shen <[email protected]> writes:
> The code attached below produces in one of the two IMHO similar cases
> (excepting the sizes of the lists involved) MemoryError. Could experts
> kindly tell why that's so and whether there is any work-around feasible.
"MemoryError" means: the Python process wants more memory from the
operating system than this can give.
Your options:
* increase the memory resources (RAM, swap space) of your system
* check the memory related configuration of your operating system
(there may be a limit for memory allocated to processes -
try to increase this)
* change your algorithm such that less memory is needed
--
https://mail.python.org/mailman/listinfo/python-list