On Jan 25, 8:05 pm, Alexander Moibenko wrote:
> I have a simple question to which I could not find an answer.
> What is the [total maximal] size of list including size of its elements?
Beware, sys.getsizeof(alist) is 4*len(alist) + a bit, regardless of
alists's contents ?!
See
http://stackoverfl
Well, there actually is a way of building programs that may use more
than 4GB of memory on 32 machines for Linux with higmem kernels, but I
guess this would not work for python.
As I said, it's essentially paging:
http://kerneltrap.org/node/2450
And it's not something you can just compile in
On Jan 25, 3:31 pm, "Diez B. Roggisch" wrote:
> Am 25.01.10 22:22, schrieb AlexM:
>
>
>
> > On Jan 25, 2:42 pm, "Diez B. Roggisch" wrote:
> >> Am 25.01.10 21:15, schrieb AlexM:
>
> >>> On Jan 25, 2:03 pm, "Diez B. Roggisch" wrote:
> Am 25.01.10 20:39, schrieb AlexM:
>
> > On Jan 25, 1
Am 25.01.10 22:22, schrieb AlexM:
On Jan 25, 2:42 pm, "Diez B. Roggisch" wrote:
Am 25.01.10 21:15, schrieb AlexM:
On Jan 25, 2:03 pm, "Diez B. Roggisch"wrote:
Am 25.01.10 20:39, schrieb AlexM:
On Jan 25, 1:23 pm, "Diez B. Roggisch" wrote:
Am 25.01.10 20:05, schrieb Alexander M
On Jan 25, 2:42 pm, "Diez B. Roggisch" wrote:
> Am 25.01.10 21:15, schrieb AlexM:
>
>
>
> > On Jan 25, 2:03 pm, "Diez B. Roggisch" wrote:
> >> Am 25.01.10 20:39, schrieb AlexM:
>
> >>> On Jan 25, 1:23 pm, "Diez B. Roggisch" wrote:
> Am 25.01.10 20:05, schrieb Alexander Moibenko:
>
> >
Am 25.01.10 21:49, schrieb AlexM:
On Jan 25, 2:37 pm, "Alf P. Steinbach" wrote:
* AlexM:
On Jan 25, 2:07 pm, Terry Reedy wrote:
On 1/25/2010 2:05 PM, Alexander Moibenko wrote:
I have a simple question to which I could not find an answer.
Because it has no finite answer
What is the
On Jan 25, 2:37 pm, "Alf P. Steinbach" wrote:
> * AlexM:
>
>
>
> > On Jan 25, 2:07 pm, Terry Reedy wrote:
> >> On 1/25/2010 2:05 PM, Alexander Moibenko wrote:
>
> >>> I have a simple question to which I could not find an answer.
> >> Because it has no finite answer
>
> >>> What is the total maxim
Am 25.01.10 21:15, schrieb AlexM:
On Jan 25, 2:03 pm, "Diez B. Roggisch" wrote:
Am 25.01.10 20:39, schrieb AlexM:
On Jan 25, 1:23 pm, "Diez B. Roggisch"wrote:
Am 25.01.10 20:05, schrieb Alexander Moibenko:
I have a simple question to which I could not find an answer.
What is the total
* AlexM:
On Jan 25, 2:07 pm, Terry Reedy wrote:
On 1/25/2010 2:05 PM, Alexander Moibenko wrote:
I have a simple question to which I could not find an answer.
Because it has no finite answer
What is the total maximal size of list including size of its elements?
In theory, unbounded. In pra
On Jan 25, 2:07 pm, Terry Reedy wrote:
> On 1/25/2010 2:05 PM, Alexander Moibenko wrote:
>
> > I have a simple question to which I could not find an answer.
>
> Because it has no finite answer
>
> > What is the total maximal size of list including size of its elements?
>
> In theory, unbounded. In
On Jan 25, 2:03 pm, "Diez B. Roggisch" wrote:
> Am 25.01.10 20:39, schrieb AlexM:
>
> > On Jan 25, 1:23 pm, "Diez B. Roggisch" wrote:
> >> Am 25.01.10 20:05, schrieb Alexander Moibenko:
>
> >>> I have a simple question to which I could not find an answer.
> >>> What is the total maximal size of l
On 1/25/2010 2:05 PM, Alexander Moibenko wrote:
I have a simple question to which I could not find an answer.
Because it has no finite answer
What is the total maximal size of list including size of its elements?
In theory, unbounded. In practice, limited by the memory of the interpreter.
Am 25.01.10 20:39, schrieb AlexM:
On Jan 25, 1:23 pm, "Diez B. Roggisch" wrote:
Am 25.01.10 20:05, schrieb Alexander Moibenko:
I have a simple question to which I could not find an answer.
What is the total maximal size of list including size of its elements?
I do not like to look into python
On Jan 25, 1:23 pm, "Diez B. Roggisch" wrote:
> Am 25.01.10 20:05, schrieb Alexander Moibenko:
>
> > I have a simple question to which I could not find an answer.
> > What is the total maximal size of list including size of its elements?
> > I do not like to look into python source.
>
> But it wou
Am 25.01.10 20:05, schrieb Alexander Moibenko:
I have a simple question to which I could not find an answer.
What is the total maximal size of list including size of its elements?
I do not like to look into python source.
But it would answer that question pretty fast. Because then you'd see
th
Am 25.01.10 20:05, schrieb Alexander Moibenko:
I have a simple question to which I could not find an answer.
What is the total maximal size of list including size of its elements?
I do not like to look into python source.
But it would answer that question pretty fast. Because then you'd see
th
I have a simple question to which I could not find an answer.
What is the total maximal size of list including size of its elements?
I do not like to look into python source.
Here is a code example:
import struct
KB=1024
MB=KB*KB
GB=MB*KB
buf=[]
bs=32*KB
n=4*GB/bs
print "N",n
i=0
size=0L
while i <
17 matches
Mail list logo