pickle memory leak in python -


i have large list of lists of list of integers, lists @ different levels of different length, otherwise have stored using numpy. store last level of list of integers using array('i', listofinteger) save memory. total size 5g (it 20g if directly use lists instead of array('i')). when load file using pickle, takes 30g memory , memory not release after load done. if delete data, still takes more 25g memory. memory released after python existed

any solution how solve this? why pickle still hold memory?

any suggestions on how store data?


Comments

Popular posts from this blog

android - Why am I getting the message 'Youractivity.java is not an activity subclass or alias' -

python - How do I create a list index that loops through integers in another list -

c# - “System.Security.Cryptography.CryptographicException: Keyset does not exist” when reading private key from remote machine -