![]() |
Maximum Elements in List - Printable Version +- Python Forum (https://python-forum.io) +-- Forum: Python Coding (https://python-forum.io/forum-7.html) +--- Forum: General Coding Help (https://python-forum.io/forum-8.html) +--- Thread: Maximum Elements in List (/thread-4669.html) |
Maximum Elements in List - ankit_1148 - Sep-01-2017 I have a doubt - How to find the maximum no. of elements that can be placed in one list. Also, how can I extend this size limitation. Thanks RE: Maximum Elements in List - Larz60+ - Sep-02-2017 on a 32 bit system, maximum size is 536,870,912 items. on a 64 bit system it's Hugh 9,223,372,036,854,775,807 you can find out by looking at the 'C' source, PY_SSIZE_T_MAXin pyport.h do you need something larger? if so, I recommend you get a huge loan and buy a Cray! |