14

Just came across this, seems as Photos created a duplicate of the iPhoto database instead of just using that one.

Now I'm stuck here with two 50+ GB libraries, eating up space on my HDD. I think iPhoto uses the Photos database, so would it be safe to delete the iPhoto database?

I'm still going to use iPhoto (because it's easier than Photos).

enter image description here

10

I'd say stick to the iPhoto Library if that's the app you're going to continue using for now.

When you eventually swap to Photos, do the import again.

The Photos Library is greyed out if you attempt to open it from iPhoto. Any changes you make to the iPhoto Library will not be reflected in the Photos Library, meaning you'll gradually go out of sync until such time as iPhoto no longer works (OS X 10.11, who knows?) & you'll need to reimport at that time.

Photos Library Storage Space
The Photos Library is actually just a collection of hard links to the actual data on the disk & therefore is not taking up anything like the amount of space that Finder is reporting.

More on hard links from Ars Technica:

A hard link is simply a reference to some data on disk. Think of a file as a combination of a name and a pointer to some data. Deleting a file really means deleting the name portion of that duo. When there are no more names pointing to a particular piece of data disk, then that disk space can be reused."

This means that so long as one of the pointers to the data still exists, the data is still in use. Only by deleting both will the data actually be deleted.

Ref: Apple KB - Photos saves disk space by sharing images with your iPhoto or Aperture libraries

  • Yeah maybe that's the best option. I just feel like Photos is really user unfriendly. The way it handles events are not that nice as iPhoto did. – thibmaek Apr 9 '15 at 12:35
  • Can't say I'm a fan of it either, right now - maybe I'll get used to it... – Tetsujin Apr 9 '15 at 12:36
  • Large info update coming in - bet this one catches out a few people!! – Tetsujin Apr 10 '15 at 5:42
  • More info coming in - it's not as bad as we first thought ;) – Tetsujin Apr 10 '15 at 6:34
  • 1
    I think it's important to say that if, after installing Photos, you want to delete photos/videos you imported into iPhoto you either need to delete them from both apps, or delete the iPhoto library. Otherwise the old photos/videos you delete in one app will still be referenced from the other and you won't gain any disk space. – jim Oct 7 '15 at 7:04
7

As @Tetsujin pointed out, you don't have two libraries taking 50GB of space: when you import iPhoto's library to Photos, it creates something called hard links to your photos. From Jason Snell at Six Colors (emphasis mine):

Mac users are probably more familiar with the concept of soft links, also known as “symbolic links.” Mac users would recognize the idea of a soft link from the long-time Mac concept of aliases. In both of these cases, there’s something that looks like a file or folder/directory that’s actually just a reference to the real version of that file somewhere else in the filesystem.

Hard links aren’t like that. The best way to think of a hard link is that the contents of a file appear to exist in more than one location. If a file has two hard links, and you delete one, the file isn’t deleted—because it’s still linked to from another location.

That’s what the iPhoto import inside Photos does: It creates hard links to the contents of your iPhoto library inside the Photos library. If you delete your iPhoto library, the files that were hard-linked from the Photos library still exist in the Photos library and aren’t deleted. For Mac users used to the a-file-is-a-file approach of the Finder, it’s a bit of a head-scratcher.

Since iPhoto's library gets frozen when you import it into Photos (i.e. further changes don't get synced), you can safely delete it: you won't have neither more nor less space then before.

EDIT: You can also check out this answer: https://apple.stackexchange.com/a/180313/10159

  • I was just tweaking my answer again as you posted Marko. It took me a time of head-scratching before I figured out the hard link thing. We can breathe comfortably again ;) – Tetsujin Apr 10 '15 at 6:40
3

I already deleted my iPhoto libraries and everything looks OK. As already reported, there is no disk space gains doing that but I like to keep everything clean. Still not so comfortable with Photos but it has potential to improve.

1

The easiest way to test this is to back up one of the library files onto an external drive, then delete it off the main drive. Then look at whether your disk usage went down or not. In my case, I like Photos, and am done with iPhoto. However, if hard links are used, I am worried the new Photos library will break when the old iPhoto library is deleted. I had 2 30GB libraries.

So, I tried it. Deleting the old iPhoto library did not save me 30GB. It did save me about 4GB. So the disk space reported is not accurate, even if you're using Omni DiskSweeper to measure it. But nothing bad happened. All my photos are intact in the new Photos software.

-3

For me it did use twice the disk space (had 12GB free before the import and less than 2 right after, also Disk Inventory X confirmed that). Deleting iPhoto library returned the free space.

  • 1
    Third party disk scanners might be incorrect. Check the info panel on your Macintosh HD and see if it takes up extra space there. – thibmaek May 21 '15 at 8:08
-4

absolutely takes up double the space. My get info shows this. I called Apple and they said 'ignore get info'. Well, I can't ignore that my hard drive has less space on it!!!! This is so frustrating.

  • 2
    You are wrong and I think you haven't even glanced at the answers above. Apple is right, you can ignore Get Info since it shows the filesize but doesn't actually fills it in on the hdd. – thibmaek Apr 28 '15 at 5:11
-4

It looks double space to me too. I'd be careful to delete anything before i absolutely sure if it is not double space, or, which library is the real one or a linked one.

You must log in to answer this question.

protected by Community Aug 4 '15 at 6:45

Thank you for your interest in this question. Because it has attracted low-quality or spam answers that had to be removed, posting an answer now requires 10 reputation on this site (the association bonus does not count).

Would you like to answer one of these unanswered questions instead?

Not the answer you're looking for? Browse other questions tagged .