Investigate Memory Limits on iOS
related #279
Ok. As we said in issue 279, the crashes can be caused by a memory limit. So first you need to test the extension with various amounts of scripts, to see if at a certain point it crashes and reproduces the exact error message. Eventually, a method to limit the number or size of the js files loaded by the extension should be devised. If instead the error does not relate to the memory limit, further investigation is needed. I can provide you my scripts to test them.
@Emasoft
if you want to send me your scripts, my email is on my profile page, I hope to be able to investigate this on the weekend
I did some profiling this weekend and found some areas that could benefit from optimization, i think a lot of it revolves around #278, but also code level improvements that should be investigated around the parse function being used
I was using ~64 userscripts some quite small in footprint and others quite large
I have nothing specific to share right now outside of that, but will update this thread as more discoveries are made
Any progress on this?
Even after the last update on iOS, the issue is still present.
The error is the same, and retry doesn't do anything 95% of the times.

I've sent you my Userscripts folder in a zip file to your email. Please test it.
@Emasoft I got your files, thanks for sending. ~~Are you seeing this on iOS or macOS? I noticed the folder name mentions iOS but the image you pasted shows macOS. I have not yet been able to reproduce this on macOS, but I will keep trying.~~
Edit: For a moment I thought the screenshot was macOS, I see that is not the case now.
Can you give me you device details?
@quoid
Can you give me you device details?
§ Device
Device name: iPad Pro (12.9 inch - 4th generation)
Model: iPad8,11
Brand: Apple Inc.
Realeased date: March 25, 2020
Weight: 643 g
§ System
Operating System: iPadOS
Operating System Type: Darwin
Operating System State: Stable
Version: 16.1
Build Number: 20B82
Multitasking: Yes
Initial OS Version: 13.4
Max Supported OS Version: 14+
Kernel Info: Darwin Kernel Version 22.1.0: Thu Oct 6 19:33:53 PDT 2022; root:xnu-8792.42.7~1/RELEASE_ARM64_T8020
Boot Time: 25/Oct/2022
Up Time: 4 days, 17h:58m
§ CPU
Chipset name: A12Z
Launched: March 18, 2020
Designed by: Apple Inc.
Common manufacturer(s): TSMC
Product code: APL1083
Max. CPU clock rate: 2.49 GHz
Cores: 8
Technology node: 7 nm
Instruction set: Aarch64; ARMv8.3-A
§ GPU
GPU(s): Apple designed 8-Core GPU(s)
Cores: 8
§ Display
Screen size: 12.9 inch
Resolution: 2732 × 2048 pixel
Density: 264 ppi
Screen: IPS LCD
Screen technology: Liquid Retina
§ RAM
Memory: 6 GB LPDDR4X
Total: 5632 MB
Available: 1700 MB
Percent: 69 %
§ Storage
Total: 1024.0 GB
Internal Storage: 953.63 GB
Available: 619.80 GB
Percent: 35 %
Thanks, I am testing on an iPhone 8, running 15.6.1, but have not hit the issue yet :/