https://stackoverflow.com/questions/2396238/memory-error-due-to-the-huge-input-file-size
Just iterate the file do whatever operations you want on the file. 
https://towardsdatascience.com/python-basics-iteration-and-looping-6ca63b30835c

On Monday, July 1, 2019 at 11:07:39 AM UTC+1, Nibil Ashraf wrote:
>
> Hey,
>
> I have a file with a size of around 30GB. The file is in json format. I 
> have to access the data and write that to a csv file. When I tried to do 
> that with my laptop which has a a RAM of 4GB, I am getting some error. I 
> tried to load the json file like this json_parsed = json.loads(json_data)
>
> Can someone help me with this? How should I do this? If I should go with 
> some server, please let me know what specifications should I use? 
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at https://groups.google.com/group/django-users.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/django-users/30e7dc37-4504-4fbd-a793-ddd088772bad%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to