angular - NativeScript 5 - iOS 内存不足崩溃和内存泄漏
问题描述
复制到这里:https ://github.com/NativeScript/NativeScript/issues/6607
堆:
tns 5
角度 7
演示库:
https://github.com/reposooo/ns-out-of-memory
基于 ns3 中的类似问题:https ://github.com/NativeScript/NativeScript/issues/4490
重现步骤(与 AOT 的结果相同):
tns运行ios
- 在 Xcode 中打开内存报告
- 点击示例循环 2-4 次
- 点击循环 10 倍
解决方案
感谢您的报告。我们已在 GitHub 问题中做出回应,问题已得到修复,将与 {N} iOS Runtime 版本 5.0.1 一起发布。
推荐阅读
- java - 如何使用 ADB shell 关闭应用程序并测试其后台进程
- angular - 使用 2 路绑定访问 Angular 6 组件库值
- c++ - 如果所有部分都失败,Catch2 将再次运行测试
- javascript - 在页面刷新时保持会话处于活动状态
- firebase - How to subscribe a firebase function so that it executes via a pub/sub trigger
- excel - VBA 缺少 Worksheet.Range 作为值并不断获取未设置对象变量(错误 91)
- jquery - 过早调用完整参数的 jQuery 加载
- php - 使用 in 和 out 参数从 php 调用 mysql 过程
- c# - 如何在 if 条件下忽略 @RenderBody()
- git - GitHub For Windows 缺少在 Visual Studio 中打开按钮