Closed CostaConcord closed 6 months ago
macOS has a default ulimit of 256. This can be seen via:
❯ ulimit -n
256
You can update this by running ulimit -Sn
:
# Check current limit
❯ ulimit -n
256
# Set to 1000
❯ ulimit -Sn 1000
# Confirm it's been set
❯ ulimit -n
1000
Generally you'll want to try and keep this at a reasonable level, but values in the thousands wont cause you any issues. Do note, I don't believe changing the value via ulimit will persist across reboots.
I'm not sure it's an issue with Pillow or the way this tool is opening files, but this should work as a workaround.
On M2 MacOS 13.1, I suspect it may be a mac specific error. When loading a folder that has more than ~200 photos, it crashes. I haven't pinned down the exact number, I think its more than 230 and less than 235. (I got tired of relaunching and moving files around, crashing, relaunching, etc.)
Any help is much appreciated. Thanks.