trying to use gam to download takeout mail archive file - killing RAM and swap

199 views
Skip to first unread message

James Murty

unread,
Nov 27, 2014, 11:32:09 PM11/27/14
to google-ap...@googlegroups.com
gam is failing to download largish files from drive - ~7GB as it consumes all the RAM and swap space on the linux vm I'm using to perform the download.

    [13312353.829016] Out of memory: Kill process 326 (python27) score 950 or sacrifice child
    [13312353.829023] Killed process 326 (python27) total-vm:2760972kB, anon-rss:1624396kB, file-rss:0kB

I'm using commands of the following:

    gam user [username] get drivefile id [file id]  targetfolder /[path to archive folder]/

I have plenty of disk. Can gam be directed to use disk for temporary storage of the file it's downloading instead of trying to store it all in RAM? I don't really want to create massive swapfile for this.

- james
Reply all
Reply to author
Forward
0 new messages