Yamada Taro
My feedback
1 result found
-
6 votes
The team has been able to reproduce the issue and are further debugging the issue, intending to push a fix soon.
An error occurred while saving the comment An error occurred while saving the comment Yamada Taro commented
I would like to add profiling evidence from Illustrator 30.8.2 on macOS 15.7.3, running on an Apple silicon Mac Studio. My workflow involves a document with many linked PSD images on an external APFS volume.
In one session, memory stayed around 1.3–1.4 GB for roughly 70 minutes after launch. Around the time I opened the document, it rose to approximately 3.1 GB. After an initial fluctuation, logged memory readings increased at roughly 2 GB per hour. A sample taken about 5 hours 20 minutes after launch reported a physical footprint of 10.1 GB. These figures come from different logging tools and rounded displays, so they are approximate.
Later, when no document windows were visible and I believed the document was closed, memory continued to increase. A filesystem trace recorded a specific Illustrator thread accessing PSD paths referenced by that document. I have not verified whether Illustrator still retained an internal document object. The saved document metadata contains 210 distinct PSD references, but the short trace does not establish that all 210 were accessed.
In a five-second sample, this thread was sleeping for approximately 97% of its observations. The active branches included file-existence checks, URL-resource queries and display-name lookup. One branch in the Illustrator executable was:
0x19d61dc → 0x19d5544 → 0x19d4eb4 → 0xf17c98 → 0xf17e10 → @objc _NSFileManagerBridge.displayName(atPath:)
The same relative offsets appeared in an earlier sample from the same Illustrator version while documents were open. In the later trace, the filesystem thread identifier matched the thread in the sample. Calls included stat64 and getattrlist on PSD files and their parent directories.
In a separate overnight session, vmmap showed increasing numbers of allocated small blocks in MALLOC_NANO and MALLOC_TINY. Total allocation counts rose from approximately 7.5 million to 105.3 million, while allocated bytes rose from 1.9G to 23.5G over about ten hours. This is a net increase in outstanding allocations, not a count of every allocation operation.
The evidence suggests that file-reference monitoring may remain active after document windows close. I have not established that this thread owns the growing allocations, or that it is the same root cause as the original report. Restoring the external device's USB 3 connection did not stop the observed file checks.
Could the team check whether this relates to the issue already reproduced here, and whether there is a supported workaround that stops the growth without quitting Illustrator? I can provide sanitized sample, filesystem-trace and vmmap excerpts. I will remove confidential filenames and paths before sharing them.
Follow-up from Illustrator 31.0 (2027), on the same machine as my 30.8.2 report above (macOS 15.7.3, Apple silicon Mac Studio) and with a similar linked-image workflow.
Short version: memory still grows with a linked-image document open on 31.0. I cannot tell from this data whether 31.0 improved anything, because the document I am using now has far fewer linked files than the one in my 30.8.2 report.
What I measured on 31.0 (physical footprint, sampled about every 4 minutes):
- The early samples after opening the document were around 3.0-3.1 GB, similar to what I saw on 30.8.2.
- Run 1: 3,064 MB at the first sample after launch, about 11 GB after about 44 hours 20 minutes (roughly 185 MB/h on average; above 10 GB the tool reports whole-GB steps, so the end point is approximate).
- Run 2 (after a restart): 3,000 MB at 13:47 to 4,234 MB at 18:29, i.e. 4.7 hours (about 263 MB/h). Growth also continued without my input: about 313 MB/h across intervals ending with 10+ minutes of idle time, and about 244 MB/h across intervals ending with less than 10 minutes of idle time. Using the first sample of this run (13:42:50, 3,089 MB) to the 18:45:49 sample (4,301 MB) instead gives about 240 MB/h, so the average depends on the start point.
- In the vmmap REGION TYPE table, the SWAPPED column for MALLOC_NANO increased from 1.1G to 2.8G between 20:38 on Nov 11 and 13:13 on Nov 12 (Run 1).
For comparison, my 30.8.2 report above: about 2 GB/h, reaching 10.1 GB about 5 hours 20 minutes after launch.
Why this is not a like-for-like comparison:
- The 30.8.2 document had 210 distinct linked PSD paths in its saved metadata. The document I am using on 31.0 has 28. The 30.8.2 rate is about 7.6 times the rate I see now, and the link count is about 7.5 times higher. These ratios are close, but I have no evidence yet that the growth rate scales with the number of links.
- The documents, image sizes, editing activity, observation length and the state right after launch also differ.
- I have not yet tested whether closing all documents stops the growth on 31.0.
I did not find any mention in the 31.0 release notes of a fix for continuous memory growth with linked images. I can share the logs and vmmap captures if that is useful, and I can run the same 210-link document on 31.0 if that would help.