very large dictionary

Raja Baz entropy88 at gmail.com
Fri Aug 1 23:56:01 CEST 2008


On Fri, 01 Aug 2008 14:47:17 +0100, Sion Arrowsmith wrote:

> Simon Strobl  <Simon.Strobl at gmail.com> wrote:
>>I tried to load a 6.8G large dictionary on a server that has 128G of
>>memory. I got a memory error. I used Python 2.5.2. How can I load my
>>data?
> 
> Let's just eliminate one thing here: this server is running a 64-bit OS,
> isn't it? Because if it's a 32-bit OS, the blunt answer is "You can't,
> no matter how much physical memory you have" and you're going to have to
> go down the database route (or some approach which stores the mapping on
> disk and only loads items into memory on demand).

I very highly doubt he has 128GB of main memory and is running a 32bit OS.



More information about the Python-list mailing list