diff --git a/en/react-native-fast-image.md b/en/react-native-fast-image.md index 3e1fd15b99c71ee25923a9f57933c30291841a7c..afbfef7acbdda147691e047e5bfde99326cd9e9e 100644 --- a/en/react-native-fast-image.md +++ b/en/react-native-fast-image.md @@ -18,6 +18,8 @@ Find the matching version information in the release address of a third-party library: [@react-native-oh-tpl/react-native-fast-image Releases](https://github.com/react-native-oh-library/react-native-fast-image/releases).For older versions that are not published to npm, please refer to the [installation guide](/en/tgz-usage-en.md) to install the tgz package. +>[! Warning] The react native fast image component will default to enabling app.setImangeCacheCount to request memory during runtime, which can be disabled by assigning the value IsSetImageRawDataCacheSize. If you want to set other values for app.setImangeCacheCount, you can also add memory requests for system.app in your own business logic. + Go to the project directory and execute the following instruction: diff --git a/zh-cn/react-native-fast-image.md b/zh-cn/react-native-fast-image.md index 477944796dc531ef7daab57c414aa86c4913ac2f..c71813f4f7f61ef8ef14c7cf9cfdc0686d7b957f 100644 --- a/zh-cn/react-native-fast-image.md +++ b/zh-cn/react-native-fast-image.md @@ -18,6 +18,8 @@ 请到三方库的 Releases 发布地址查看配套的版本信息:[@react-native-oh-tpl/react-native-fast-image Releases](https://github.com/react-native-oh-library/react-native-fast-image/releases) 。对于未发布到npm的旧版本,请参考[安装指南](/zh-cn/tgz-usage.md)安装tgz包。 +> [!WARNING] react-native-fast-image组件在运行时会默认开启app.setImangeCacheCount 申请内存,可以通过IsSetImageRawDataCacheSize赋值进行关闭,如果想设置app.setImangeCacheCount其他值,也可以在自己的业务逻辑添加system.app的内存申请。 + 进入到工程目录并输入以下命令: