My code is creating a dict
(with strings as keys and numpy arrays as values), which is too big too fit into the RAM, so the program is crashing ('Cannot allocate memory','killed','aborted').
Having read some SO articles, I got the impression, that I would need to use a database to handle this case. But which one should I use? The bsddb - Interface to Berkeley DB library recommended @ Python Disk-Based Dictionary only accepts strings as values, which does make it seem very cumbersome to use it with numpy arrays. I also looked briefly at sqlite3 recommended @ How to handle Out of memory with Python, but I would really like to avoid using SQL do access my data.
What would you recommend?