Skip to content

Process gets killed when downloading large file (probably memory issues) #41

Description

@CrazySqueak

For whatever reason I have a large (~1GB) file in my google photos from something I downloaded to keep myself occupied on a long train journey. I'm running the download on my Raspberry Pi 4 as I have it set up as a NAS and want to save my photos to the HDD I have connected.
When downloading this file, the program starts to use more and more memory (over the course of about 10-15 minutes) until it exhausts my 4GB of RAM and gets killed with the message "Killed.". This appears to be because of the program running out of memory and getting killed by the OS (default behaviour on linux is to mercilessly kill processes which swallow up all available memory).

Log:

================================
Archiver for Google Photos (CLI)
 - By: Nick Dawson
 - GitHub @NicholasDawson
 - https://ndawson.me

Report all issues on GitHub:
https://github.com/NicholasDawson/ArchiverForGooglePhotos/issues
Version -> 2.2.0
================================
Reading Favorites List From Server...
Downloading Favorites:   0%|                                                                                              | 0/88 [00:00<?, ? media items/s] [ERROR] media item could not be downloaded because: 'exif'
Downloading Favorites:  98%|██████████████████████████████████████████████████████████████████████████████████  | 86/88 [00:00<00:00, 320.88 media items/s] [ERROR] media item could not be downloaded because: 'exif'
Downloading Favorites:  98%|██████████████████████████████████████████████████████████████████████████████████  | 86/88 [00:19<00:00, 320.88 media items/s]Killed

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions