Jump to content
You must now use your email address to sign in [click for more info] ×

Recommended Posts

Again, all very useful. I think regarding it as an interaction between Publisher and the Max OS may be the key. I have have several machines here and have been work on the one with the older 10.10 operating system to use legacy software that I need for photomicroscopy and scientific work, and to stay out of the cloud as much as possible. My next step will be to upgrade one of the newer machines, or possibly purchase another, and run the Affinity suite on that. From what you all say, that may be the best solution all around. It will take me about a week to switch over and test. I will report back to on this thread once I have.

Psenda, I am sorry that the carriage returns display poorly for you, and won't use them. They look fine on my screen and some naturally to me because I write in short paragraphs. Many things to learn. Thank you all for the help.

J.   

 

 

Link to comment
Share on other sites

1 hour ago, walt.farrell said:

The Affinity applications operate at the normal application level, and I don't know what facilities Mac or Windows provide to a normal application that allow monitoring for file changes without having the file open.

On Macs, when a user launches an app this typically causes up to a few thousand files to be opened by the OS. This is true even if the app does not open any document files. Some are in the application domain, but others are in the system or user domains. Most in the latter two domains are shared with other processes & will remain open as long as any process needs access to them.

In addition to & independently of that, the Mac OS also runs processes that keep track of which files are open, which processes are allowed to read from or write to them, which user 'owns' them, when their contents have changed, & so on. In this context "user" includes not just human users but also ones like root, _spotlight, _appleevents, _windowserver, several daemons, & others.

So there really should be very few situations that cause a 'too many files open' error when running any Mac app. The only one I can think of that would be likely to cause that is running a very large number of apps concurrently, & only if the total open file limit is set to something other than "unlimited."

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

Link to comment
Share on other sites

1 hour ago, R C-R said:

so that is not a problem.

No, problem it is not. But it is definitely not the right and good technique to keep files always open.
Fortunately, APublisher doesn't do that either, because it always releases linked files after it detects attributes (detecting possible content changes).
image.png.9d1bd33141a016bb743382569781e072.png

And as you can see, it does this when using fonts (* .ttf files) when rendering UI.
image.png.bda978b16e3ab44eb5a6db8b4dd73e34.png

Create - Close, Create - Close, so it should be done 🙂

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

To add - ADesigner does "not detect" a change in the name (loss) of an embedded document, even when you open the Resource Manager!
The embeded document will only be checked when the main document is opened, which surprised me quite.

image.png.a99de12f9bd39f92cb0489678863bfe7.png

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

13 minutes ago, Pšenda said:

To add - ADesigner does "not detect" a change in the name (loss) of an embedded document, even when you open the Resource Manager!

None of the applications detect changes in the original of embedded documents. Changes in the original are irrelevant; the document is embedded, and its contents are entirely contained within the document it's embedded in. Change detection is only for linked documents.

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

2 minutes ago, Pšenda said:

No, problem it is not. But it is definitely not the right and good technique to keep files always open.

The Mac OS typically keeps hundreds or even thousands of files open simultaneously, only closing any of them when no process requires access to them. It does this to improve performance by avoiding the needless overhead of constantly making the file system manager open & close files when there is no good reason to devote any system resources to doing that.

This is generally considered to be a 'right and good' file management technique, at least for the Mac OS & other UNIX-like operating systems. I have no idea if anything similar would apply for Windows.

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

Link to comment
Share on other sites

1 hour ago, Jerry Jenkins said:

My next step will be to upgrade one of the newer machines, or possibly purchase another, and run the Affinity suite on that.

Please let us know if that resolves the 'too many files open' issue for you. Particularly if it does not, this would be something the developers probably would want to know about.

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

Link to comment
Share on other sites

36 minutes ago, walt.farrell said:

None of the applications detect changes in the original of embedded documents. Changes in the original are irrelevant; the document is embedded, and its contents are entirely contained within the document it's embedded in. Change detection is only for linked documents.

??? So why does ADesigner "detect" changes in an embedded document, when I open a master document? - if it is completely irrelevant?
Edit: so I - was wrong. Wow, I didn't really expect that (wasn't it in previous versions?).
So why is embedded documents in Resource Manager listed as OK - when it is completely irrelevant?

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

17 minutes ago, Pšenda said:

So why is embedded documents in Resource Manager listed as OK - when it is completely irrelevant?

It needs to show you all the linked or embedded files, and each needs some kind of status :)

As for Designer detecting changes in an embedded file there were one or two bugs in that area that were fixed in 1.8 or one of its revisions. 

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

43 minutes ago, R C-R said:

The Mac OS typically keeps hundreds or even thousands of files open simultaneously, only closing any of them when no process requires access to them. It does this to improve performance by avoiding the needless overhead of constantly making the file system manager open & close files when there is no good reason to devote any system resources to doing that.

This is generally considered to be a 'right and good' file management technique, at least for the Mac OS & other UNIX-like operating systems. I have no idea if anything similar would apply for Windows.

One thing is accessing files from an application perspective (we're talking about this here), and the other is managing files and accessing them from an OS perspective. It goes without saying that the OS uses various techniques to optimize access and increase efficiency, such as caching, keeping handles to frequently used files, etc.
n general, however, the application itself should not hold thousands/millions of active connections because it is obvious that it can grow above all limits, which then cause the system resources to overload.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

3 minutes ago, walt.farrell said:

each needs some kind of status

But if the status is the only one possible state - OK, then it completely loses meaning 🙂
At least I expected the change of the embedded document to be detected accordingly, which seems to me as a very interesting information.

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

5 hours ago, Pšenda said:

n general, however, the application itself should not hold thousands/millions of active connections because it is obvious that it can grow above all limits, which then cause the system resources to overload.

An active connection is only required when actually reading from or writing to a file. Leaving a file open when it is not being accessed does not AFAIK require any additional work or load on the system, other than using a few bytes of RAM for the file descriptors, handles, or whatever else the OS might use to keep track of which files are open.

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

Link to comment
Share on other sites

2 hours ago, Lagarto said:

When using Windows Task Manager's Resource Monitor, it can be seen that Affinity Publisher has all the imported files still open.

I've never noticed that information available in the Resource Monitor. Can you help me find it?

-- Walt
Designer, Photo, and Publisher V1 and V2 at latest retail and beta releases
PC:
    Desktop:  Windows 11 Pro, version 23H2, 64GB memory, AMD Ryzen 9 5900 12-Core @ 3.00 GHz, NVIDIA GeForce RTX 3090 

    Laptop:  Windows 11 Pro, version 23H2, 32GB memory, Intel Core i7-10750H @ 2.60GHz, Intel UHD Graphics Comet Lake GT2 and NVIDIA GeForce RTX 3070 Laptop GPU.
iPad:  iPad Pro M1, 12.9": iPadOS 17.4.1, Apple Pencil 2, Magic Keyboard 
Mac:  2023 M2 MacBook Air 15", 16GB memory, macOS Sonoma 14.4.1

Link to comment
Share on other sites

1 hour ago, walt.farrell said:

I've never noticed that information available in the Resource Monitor. Can you help me find it?

Maybe this:
image.png.0652df07062d2febd122034129cd23e2.png

But this is basic information about disk operation (transactions).
image.png.bfd20c937ad4180ae1a07b0654a2ea76.png

For a detailed overview of disk operations you need to use better tools, eg ProcessMonitor from SysInternals (see my previous post).

Affinity Store (MSI/EXE): Affinity Suite (ADe, APh, APu) 2.4.0.2301
Dell OptiPlex 7060, i5-8500 3.00 GHz, 16 GB, Intel UHD Graphics 630, Dell P2417H 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Dell Latitude E5570, i5-6440HQ 2.60 GHz, 8 GB, Intel HD Graphics 530, 1920 x 1080, Windows 11 Pro, Version 23H2, Build 22631.3155.
Intel NUC5PGYH, Pentium N3700 2.40 GHz, 8 GB, Intel HD Graphics, EIZO EV2456 1920 x 1200, Windows 10 Pro, Version 21H1, Build 19043.2130.

Link to comment
Share on other sites

Lagarto,  thank you. You  encountered exactly the same error messages that I did; it is useful to know they are reproducible and not local to my system. also, as you, I encountered no problems running Indesign on files with over 2,000 links, so did not think it could be purely an operating system issue.  <y problems with Publisher were on an older Mac OS -- 10.10 -- Have just installed Publisher on a Mac running Mohave 10.14.3, and tomorrow will run the same files and test. Hope it works! Will post results.

J.

 

 

 

Link to comment
Share on other sites

Lagarto, Psenda, Walt, and all: I set up Publisher on a newer machine here, iMac Retina, Mohave 10.14.3, i7 processor, 32 GB memory, and asked it to link to several hundred Illustrator drawings of tree buds. These are fairly complex drawings, 5-10 MB each, lots of shapes and gradients. Publisher handled them without and hesitation or fuss, and saved and reopened the file without incident, in a matter of a few seconds.

So, unless I run into problems in even larger files, everything is working. My conclusion is that while Publisher runs under Mac OS 10.10, it cannot link to large numbers of vector files, either in Designer or Illustrator format, without generating errors and crashing. I love working in Publisher, and am pleased with this outcome. And grateful for your help. I will continue to work in it -- book of about 500 pages, maybe 2,000 illustrations and maps -- and am sure I will have other questions as I go along. Jerry Jenkins  norternforestatlas.org

 

 

 

 

 

 

 

 

 

Link to comment
Share on other sites

Out of curiosity has anyone tried this with jpegs or similar files? Same result or will it place those files in no problem in large numbers as they are not exactly editable files like a vector file would be. Or would it be like 2,000 photoshop files open and the format does not matter as Publisher is not linking files like Indesign does?

Link to comment
Share on other sites

3 minutes ago, Lagarto said:

And the same is true with current Windows version, which is just unbearable. Publisher needs to either process files so that they are not unnecessarily left open, or it needs to use native file handling that does not have any arbitrary limit on the number of files that can be simultaneously open.

Just to clarify things a tiny bit, older versions of the Mac OS had lower default limits on the number of file references they could track compared to newer versions. But they all leave the files open until they are no longer needed by any process.

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

Link to comment
Share on other sites

3 hours ago, Lagarto said:

These kinds of limitations should be explicitly stated in app specs ...

The limits I was referring to are the defaults imposed by different versions of OS X & the macOS. It is possible to change them using certain Terminal commands, but in general it is not a good idea to do that.

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

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.