[iOS] FastImage.preload causes 150–200% CPU usage and app termination when preloading large batches (300+ images)
Environment
React Native version: 0.76.0
react-native-fast-image version: ^8.6.3
Problem Summary
When using FastImage.preload() to preload a large number of remote images (approximately 300+ items), the app crashes only on iOS.
Observed symptoms: The CPU usage spikes to 200–220% during FastImage.preload()
The main thread becomes unresponsive
After ~5–10 seconds, iOS Watchdog kills the app
No JS exception is thrown; the process is terminated abruptly
This issue does not occur on Android, only iOS.
Code Snippet & Screenshot of the issue
const {data: themes} = useGetThemes({ categorySeq: undefined, countrySeq: nowCountry.countrySeq, type: ThemeTypeEnum.SEND, });
Request
Since this issue results in app crashes on iOS, it would be helpful to have:
Confirmation whether this is a known limitation
Guidance on safe usage
Potential improvements to preload batching on iOS
Source: DylanVann/react-native-fast-image