search

Home  >  Q&A  >  body text

ios - 新接手项目,60000+ 内存泄漏,如何破,有什么好方法!!!

新接手项目,60000+ 内存泄漏,如何破,有什么好方法!!!

PHPzPHPz2892 days ago435

reply all(6)I'll reply

  • PHPz

    PHPz2017-04-18 09:22:13

    There shouldn’t be a lot of leaks. It could be that a leak was called so many times that the leak was amplified.

    reply
    0
  • 巴扎黑

    巴扎黑2017-04-18 09:22:13

    Run each test in the unit test 100 times to see which step is missing, find the leaking place and fix it, and then cut off the person who developed this part

    reply
    0
  • 高洛峰

    高洛峰2017-04-18 09:22:13

    Troubleshoot the memory leak in the executed business. It may be that an array or data has not been released, or it may be caused by a wrong loop operation. Tools are generally very helpful in finding the problem. If you still can't find it, you can comment and execute the suspicious code in sections to determine it. .
    In the end, no matter who wrote the code in front of you, it won’t work if you scold him ten thousand times. After all, it’s already in your hands (wry smile).

    reply
    0
  • PHP中文网

    PHP中文网2017-04-18 09:22:13

    Redo... and then yell at the person before SB

    reply
    0
  • 阿神

    阿神2017-04-18 09:22:13

    Rage at the previous programmers and raise this number to 80,000+.

    reply
    0
  • PHPz

    PHPz2017-04-18 09:22:13

    I choose a dog leash. . . .

    reply
    0
  • Cancelreply