在使用Instruments中Allocations监测 app 内存使用情况时,遇到使用 deserialize 将json 转模型的地方会退出
Open
- Dominant language
- Swift
- Stars
- 4.3k
- Forks
- 677
- PR merge metrics
- No merged PRs in 30d
Description
我在Instruments中Allocations监测 app 内存使用时,发现只要调用 deserialize 方法,Allocations在启动后,就会退出,无法运行
我把其它代码都注释掉后,就能正常运行,然后再取消注释任意一个 deserialize 方法,Allocations在启动后,就又会退出,无法运行
请问这是啥什么呢?
有没有遇到相同问题的同学,有人使用在使用Allocations遇到问题了么?
Contributor guide
No contributing guide indexed for this repository
Research direction
Start by reproducing the reported behavior in Instruments' Allocations tool with a minimal call to deserialize, then isolate which model conversion triggers the exit. Compare the run with deserialize calls commented out; done means the failure is reproducible with a documented trigger and its cause or a confirmed library fix is identified.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- swift
- Domain
- performance
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100