Jump to content

Recommended Posts

I cannot pinpoint what exactly causes the memory leak/maximization, but in the action of either going back in history to remove an edit/manipulation or zooming in and out along with changing brush size, the platform will quickly max out on memory causing a total machine memory max. It forces me to force close and re-open the program in order to continue working on the images. I will do what I can to pinpoint the behavior, but it's causing significant issues that are slowing our work within the system that was not a problem prior.

 

I am on V 1.6.1.93

 

 

Share this post


Link to post
Share on other sites

I confirm geprince's memory leak problem :(

Affinity Photo consumes a lot of memory. The problem is that allocated (leaked?) memory isn't freed. I can't detect what activity exactly causes this problem - still trying to discover. After editing ~50 photos (denoise, unsharp mask, etc.) Photo can use almost all memory (regardless of its quantity - I have 16 GB) and I emphasize - that memory is not freed when all documents in photo are closed and Photo goes idle. RAM usage increases continuously during operation. Now I have Photo 1.6.2.97. As I wrote - I'm trying to detect which activity mainly causes it.

Share this post


Link to post
Share on other sites

This is essentially what I have been experiencing also. While I am ok with high ram usage and can adjust that in the setting, it becomes unusable once the system hits a critical level (no matter what is setup as the RAM maximum). There is something that is not "freeing" up its resources once you move onto the next step. I also tested the possibility that the "history" level needed to be decreased and that seemed to help a little bit, but I am not sure if its at all related. I am running a premium Dell XPS machine, so its not the hardware.

Share this post


Link to post
Share on other sites

After some testing I can easily reproduce the problem. In my case memory usage incerases gradually when editing a big series of photos. The algorithm to reproduce is simple:

  1. open any photo (TIFF in my case)
  2. do some edits (such as curves, levels, denoise, brightness / contrast, unsharp mask, etc.)
  3. export to JPEG
  4. close the edited photo
  5. go to point 1.

After editing each subsequent photo, the memory usage by Photo increases. After a longer cycle described above, RAM usage goes maximum, regardless of its quantity and I have to restart Photo. It is understandable that the program can use a lot of memory while editing the image, but when it is closed Photo should free up resources. But in this case we have something like "cumulation" until the RAM is full.

Share this post


Link to post
Share on other sites
On 08/12/2017 at 6:54 PM, komtur said:

I confirm geprince's memory leak problem :(

Affinity Photo consumes a lot of memory. The problem is that allocated (leaked?) memory isn't freed. I can't detect what activity exactly causes this problem - still trying to discover. After editing ~50 photos (denoise, unsharp mask, etc.) Photo can use almost all memory (regardless of its quantity - I have 16 GB) and I emphasize - that memory is not freed when all documents in photo are closed and Photo goes idle. RAM usage increases continuously during operation. Now I have Photo 1.6.2.97. As I wrote - I'm trying to detect which activity mainly causes it.

 

This isn't a problem, we cache lots of things.

 

What is the issue with high memory usage? What problems are you experiencing? You should be looking for applications that use 100% CPU and all of your memory, that means we're working efficiently and making maximum use of your PC (assuming those percentages are happening at relevant times).

Share this post


Link to post
Share on other sites

I understand that caching is good (better to use RAM instead of HDD or even SSD). But my problem is that Photo slows down when it reaches 100% memory usage. After a long work I have ~5GB Photo process in memory (it's normal, as I understand) and total memory usage about 100% with no other significant applications working in background (16 GB total RAM). In this case it is enough to restart the program and for a long time everything runs smoothly. Until another 100% RAM. Photoshop and Paint Shop Pro (both 64 bit) that I had to deal with did not behave this way. Despite the use of large amounts of memory, they never caused it to be completely used after longer work. This is the source of my doubts. Maybe I simply have to restart Photo from time to time to restore its performance. ;)

Share this post


Link to post
Share on other sites
1 hour ago, Mark Ingram said:

I'm a little confused, you say the memory usage is at 5GB for Photo, but your 16GB of RAM is at 100% usage? Can you record a little video (or even a GIF) to show the usage?

I'm confused too. I was surprised because I have never seen anything like it. The computer with Photo will be available for me on the weekend, so I will try to document this phenomenon. I have a few photos to processing, so this problem should appear. And I apologize in advance for my imperfect English. :$

Share this post


Link to post
Share on other sites
50 minutes ago, komtur said:

I'm confused too. I was surprised because I have never seen anything like it. The computer with Photo will be available for me on the weekend, so I will try to document this phenomenon. I have a few photos to processing, so this problem should appear. And I apologize in advance for my imperfect English. :$

 

Hah! I thought you were English...

Share this post


Link to post
Share on other sites

Here are three screenshots. The first one shows the situation right after starting Photo. The second one shows the memory status after processing about 10 pictures. The third one - the state after about 40 photos. I observed that Affinity Photo process goes "asymptotically" to ~5 GB (that would be after about 100 photos or more - I experienced it about a week ago). More interesting thing is that the general memory usage is growing almost constantly and in the third picture reaches 50% (after a long enough series of processed images, it finally reaches almost 100%). Generally, no new significant processes appeared during the work of Affinity Photo. The only thing that I noticed is that Bitdefender main process reduced its memory usage. This is normal behavior of this program when it notices a significantly increased memory usage by other applications. When RAM usage reaches finally almost 100%, Photo acts much slower (particularly Tone Mapping Persona - probably it needs a lot of memory?). As I wrote earlier - it is enough to restart Photo from time to time to resolve the problem.

1.png

2.png

3.png

Share this post


Link to post
Share on other sites

I have this problem too. Windows 7, 4 GB RAM, Affinity Photo 1.6.2.97.  Affinity Photo become very very slowly, when its memory runs up to 3 GB.
And it don't clear memory when I close the file or delete the layers.

 

Share this post


Link to post
Share on other sites

I can tell that I have the same problem. The program uses alot of memory so it nearly becomes useless. Now I work with some .eps files and combining some files but still, that shouldn't make the program freeze and be unresponsive for minutes some times..

I'ts really frustrating when you try to add a new layer and nothing happens, and then you click again, just to realize that you got 3 new layers.  I have a good computer and had no problems working in Photoshop on it or in illustrator.

I like the program but I'm not sure that I will by it because of this memory issues.

Share this post


Link to post
Share on other sites
19 hours ago, AkTalarom said:

I can tell that I have the same problem. The program uses alot of memory so it nearly becomes useless. Now I work with some .eps files and combining some files but still, that shouldn't make the program freeze and be unresponsive for minutes some times..

I'ts really frustrating when you try to add a new layer and nothing happens, and then you click again, just to realize that you got 3 new layers.  I have a good computer and had no problems working in Photoshop on it or in illustrator.

I like the program but I'm not sure that I will by it because of this memory issues.

If you are interested, you can try the latest customer beta (which should work with the trial) as it has many performance fixes.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×