弹窗出现:Charles is running low on memory. Recording has been stopped. Please clear the
session to free memory and continue recording.
官网解决方法:
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 numbers!
(中文意思:找到安装的位置, 修改文件:Charles.ini, 增大vm.heapsize.preferred,从256M改为2048M)
Mac OS X
Find Charles.app in your Applications folder, right click and choose Show Package Contents. Open the Contents folder and open Info.plist in a text editor, such as Text Edit. Find VMOptions and change the number in -Xmx256m. Be sure not to remove any other the letters or symbols around the numbers!
Linux
Edit the charles.sh file and change the number in -Xmx256m. Be sure not to remove any other the letters or symbols around the numbers!
当然 我找不到vm.heapsize.preferred这个字段
所以 可以通过删除会话、临时文件来释放内存
.tmp文件那么多...
找到Temp (临时文件)关于Charles删掉就行