this post was submitted on 29 Aug 2023
72 points (100.0% liked)

Apple

17472 readers
186 users here now

Welcome

to the largest Apple community on Lemmy. This is the place where we talk about everything Apple, from iOS to the exciting upcoming Apple Vision Pro. Feel free to join the discussion!

Rules:
  1. No NSFW Content
  2. No Hate Speech or Personal Attacks
  3. No Ads / Spamming
    Self promotion is only allowed in the pinned monthly thread

Lemmy Code of Conduct

Communities of Interest:

Apple Hardware
Apple TV
Apple Watch
iPad
iPhone
Mac
Vintage Apple

Apple Software
iOS
iPadOS
macOS
tvOS
watchOS
Shortcuts
Xcode

Community banner courtesy of u/Antsomnia.

founded 1 year ago
MODERATORS
 

Just in case you wondered how many photos you really can have in your Apple Photos library, I can report that I have so far added 1 000 264 Photos and 10 242 Videos without any issues.

I’m fairly impressed and happy about it since all I could find was that it should support up to 100.000 photos, with a few reasoning about the limit being increased to 300.000 on modern hardware.

1 000 264 Photos, 10 242 Videos in Apple Photos

I’m running this on my MacBook Pro M2 Max with 64 GB ram.

Most formats gets converted to HEIC and HEVC on import, which are staggeringly effective compared to their original formats. The whole library file still only takes up 1.7TB, which is much less than expected. The original source on my NAS is around 5.6 TB.

Edit: Maybe I should add that I do not recommend this, and view it as an experiment for now. I’m still importing data. If it’s still stable and performant after a year and some OS updates then I can start recommending it.

top 15 comments
sorted by: hot top controversial new old
[–] conciselyverbose@kbin.social 13 points 1 year ago* (last edited 1 year ago)

Holy shit. I have 25k and I thought that was a lot. Almost all raw, but still. A million, compressed or not, is insane.

Edit: barring professional use, but apple photos just doesn't have the management for that.

[–] FlyingSquid@lemmy.world 6 points 1 year ago (1 children)

Yeah, yeah, yeah. Whatever. More penguin pictures!

[–] Z4rK@lemmy.world 5 points 1 year ago (1 children)

Says the squid! I do not trust your intentions. The location of the penguins will not be revealed.

[–] FlyingSquid@lemmy.world 4 points 1 year ago
[–] reddig33@lemmy.world 6 points 1 year ago (1 children)
  1. Please make sure you have backups if these photos are important to you.

  2. You can make this more manageable by creating separate photo libraries for separate purposes. Hold down the option key when launching the Photos app and you’ll see a prompt asking it’ll you want to open a different library, or create a new one.

[–] Z4rK@lemmy.world 5 points 1 year ago
  1. I have backups.
  2. I have multiple libraries. This is the main one. I don’t need to split it up as long as it’s already manageable :)
[–] richard_wagner@lemmy.world 3 points 1 year ago (1 children)

I also use Apple Photos.

I’ve heard people complain with horror stories about data loss, and I hope that doesn’t happen to me or you, but so far the service is very convenient.

[–] Z4rK@lemmy.world 3 points 1 year ago (1 children)

I’ve never heard of data loss. From the local machine or the cloud, or both?

Nevertheless, I make a nightly export to my own file structure which is stored on a NAS and also backed up to a third party cloud, so I’m not very concerned.

[–] pelley@lemmy.world 2 points 1 year ago (1 children)

What do you use for the export process?

[–] Z4rK@lemmy.world 3 points 1 year ago* (last edited 1 year ago)

OSXPhotos

You can use it from the command line, but I use the Python interface with a custom script to handle some of my custom stuff like making sure the NAS volume is mounted, tweak some naming, more robust duplication handling etc.

I used to run iCloudPD through docker on my NAS, which works great and can sync down everything directly from iCloud. However, if you turn on Advanced Data Protection like I did, software like icloudpd can no longer access your photos.

I’ve instead added an external SSD to a Mac Mini server and set it to download all originals, then I run the script on a schedule every night to export anything new to my NAS. Then the backup of my NAS to an encrypted cloud location will kick in a few hours later.

[–] agedbeef@lemmy.world 3 points 1 year ago

What an interesting case study.

[–] SubArcticTundra@lemmy.ml 2 points 1 year ago (2 children)

What is there that could limit the size of the library, apart from storage capacity?

[–] Teanut@lemmy.world 2 points 1 year ago

If Apple chose to use a 16-bit integer for the index, they would be limited to approximately 65,000 photos. 32-bit would be about 4 billion. Photos likely uses a 32-bit or even 64-bit integer index value to make it a non-issue.

There could be issues with having too many thumbnails loaded in memory. Maybe some other value overflows when scrolling through (or just loading) an enormous library. If Photos also creates an index for searching that could also create headaches. If Photos were a simple file explorer having a million files shouldn't be an issue but it's more than that, so it's good to know it seems to be performant with even 1 million photos.

[–] Z4rK@lemmy.world 1 points 1 year ago

Performance, basically. There are a lot of fancy functionality and image processing, memories, search, content recognition, edits, different timeline views, smart albums, people albums etc.. You have to take a lot of care to make all of this work smoothly with 1 million pictures!

Amazingly, so far it seems just about as snappy and smooth as always.

[–] itsyourmom@artemis.camp 2 points 1 year ago

From the pictures I can see… you shoot some beautiful pictures! Hope all goes well and you don’t have any problems! Love the sky and rocks and the penguins Ofc! 😁