本地环境配置:
Charles: v4.6.2
System: macOS Monterey 12.1
CPU: Intel Core i7
问题发现:
使用Charles长时间持续抓包后,查看error log 文件发现出现OOM。
解决办法:
参考官网文档中说明:
Charles runs out of memory
After recording for a while Charles will run low on available memory. To free up memory you >should clear the current session.
If you frequently run out of memory you can increase the default heap size.
Windows
Edit C:Program FilesCharlesCharles.ini and change vm.heapsize.preferred to a higher number. >Be sure not to remove any other the letters or symbols around the num