Jump to content

Large file causes Affinity Photo to crash when trying to open.


Recommended Posts

I have a large .afphoto file (186mb) with many layers which I am unable to work on as when I try to open it, Affinity photo crashes. It opens and the image is displayed for a few seconds then it crashes. 

I have deleted Affinity Photo and re-installed it and it still crashes. I went into my Time Machine back up and restored an earlier version of the file and it still crashes. However, other large similar files do not.

Any idea how I can access this file?

I attach the error message.

I am on a MacBook, details attached. 

Many thanks,

Lisa

Screenshot 2024-03-07 at 20.56.49.jpg

Affinity Photo 2 Affinity Store-2024-03-07-194031.ips

Link to comment
Share on other sites

Hi @earthgripper and welcome to the forums,

Difficult to know for sure, it could be a RAM limitation issue but if you’re able to open other large files then maybe not, it could be that there is some corruption in the file…

Are you able to upload the file in question so we can take a look?

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

10 hours ago, Hangman said:

Hi @earthgripper and welcome to the forums,

Difficult to know for sure, it could be a RAM limitation issue but if you’re able to open other large files then maybe not, it could be that there is some corruption in the file…

Are you able to upload the file in question so we can take a look?

Many thanks for trying to help. Here is the file. 

spring planting renamed.afphoto

Link to comment
Share on other sites

Hi @earthgripper,

Sorry to hear you're having trouble!

I can also confirm that I'm having no issues loading your file here - though I've recreated the document and have attached a copy of this here for you.

Are you able to open this new file, or does this crash in the same manner please?

If this file continues to crash, can you please navigate to Affinity Photo 2 > Settings > Performance and provide a screenshot of your settings here for me?

Many thanks in advance :)

spring planting renamed_RS.afphoto

Link to comment
Share on other sites

Hi @Dan C,

Both the original and your amended version cause Photo to crash instantly on macOS indicating the file is corrupt. Have you been able to open on Mac without issue and if so with which version of macOS?

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

3 hours ago, Dan C said:

Hi @earthgripper,

Sorry to hear you're having trouble!

I can also confirm that I'm having no issues loading your file here - though I've recreated the document and have attached a copy of this here for you.

Are you able to open this new file, or does this crash in the same manner please?

If this file continues to crash, can you please navigate to Affinity Photo 2 > Settings > Performance and provide a screenshot of your settings here for me?

Many thanks in advance :)

spring planting renamed_RS.afphoto 137.52 MB · 3 downloads

Many thanks but unfortunately the new file also caused Affinity Photo to crash in the same way.
I'm attaching screenshot of my settings.

Screenshot 2024-03-08 at 16.10.53.jpg

Link to comment
Share on other sites

3 hours ago, Hangman said:

Hi @Dan C,

Both the original and your amended version cause Photo to crash instantly on macOS indicating the file is corrupt. Have you been able to open on Mac without issue and if so with which version of macOS?

Many thanks, My Mac details attached.

Screenshot 2024-03-07 at 20.56.49.jpg

Link to comment
Share on other sites

Hi @earthgripper,

I have the same issue as you on an Intel Mac running Monterey, both your original file and @Dan C's version cause all Affinity apps to instantly Quit.

Reviewing the file on macOS indicates the file has some level of corruption and while I can edit the file to show the file structure when attempting to open the file, this still ends up with all three apps crashing... I'm unsure why there is a difference here between how Mac and Windows see this particular file...

Your source file is also significantly longer than the version @Dan C has uploaded but I believe that is, in part, a result of the file corruption since I can delete the additional lines without impacting the status of the file...

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

@earthgripper Looking at your screenshots, there is something that makes me wondering; you Mac got only 8GB RAM, but you limit the RAM usage to 16GB. What happens when you set te limit to e.g. 4GB?

Regards,
Otto

Affinity Suite v2.5.x - Windows 11 Pro

Link to comment
Share on other sites

Hi @mopperle,

I have the same issue on a Mac with 16GB, i.e., the file fails to open so I don’t believe this is the issue here…

Affinity Designer 2.5.5 | Affinity Photo 2.5.5 | Affinity Publisher 2.5.5
MacBook Pro M3 Max, 36 GB Unified Memory, macOS Sonoma 14.6.1, Magic Mouse
HP ENVY x360, 8 GB RAM, AMD Ryzen 5 2500U, Windows 10 Home, Logitech Mouse

Link to comment
Share on other sites

10 hours ago, Hangman said:

Hi @Dan C,

Both the original and your amended version cause Photo to crash instantly on macOS indicating the file is corrupt.

I only tried Dan's version but it instantly crashed AP V2 on my Mac.

All 3 1.10.8, & all 3 V2.5.5 Mac apps; 2020 iMac 27"; 3.8GHz i7, Radeon Pro 5700, 32GB RAM; macOS 10.15.7
A
ll 3 V2 apps for iPad; 6th Generation iPad 32 GB; Apple Pencil; iPadOS 15.7

Link to comment
Share on other sites

My sincerest apologies for the delayed response here - I have been conducting further tests with your file, as there's certainly something strange going on here.

I can confirm that both your original file and my recreated file crash on macOS, but not on Windows.

Opening the file on Windows, I can see that many of your embedded .PNG files are reported as having no assigned ICC profile, in the Resource Manager -

image.png

If I remove these from your file, then the document can be opened on macOS without the app crashing.

However, I'm unable to replicate this with different .PNG files currently, so I inspected your images further.

Using the 'Collect' option to convert these from Embedded images to Linked images, saving the physical .PNG files on my system, then updates the Resource Manager to show the assigned ICC profile for these images as Epson Standard RGB - Gamma 1.8:

image.png

However, opening your file on macOS with the 'replaced' version of these images, correctly displaying the Epson profile also causes the file to crash on macOS.

Alongside this, I created a new file containing only 1 of these PNG files with the Epson profile embedded and this does open on macOS without crashing - so the issue isn't as simple as the images themselves.

Therefore, in order to workaround this crashing behaviour on macOS, I Rasterised all of these PNG Images, which converts them to Pixel layers using the documents colour profile (sRGB).

This copy of the file no longer crashes on macOS, and you can find this attached below -

spring planting renamed_Rasterised.afphoto

 

I must confess, I'm unsure why these images within your specific file are causing the macOS app to crash, or why the images are displayed without profiles in the Resource Manager and therefore I'm logging all of the above with our development team now.

 

Can you please confirm for me, where were these images imported from? Are you using an Epson device that may be assigning this profile to your images? Was this file created in an older version of Affinity (ie 2.3) and only crashes in 2.4 - or was it created and saved within 2.4 originally?

Many thanks :)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...

Important Information

Terms of Use | Privacy Policy | Guidelines | We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.