Phpstorm Adjusting Memory limits

Source: Internet
Author: User

Why adjust memory?

The problem is that when there is a large number of JS in the project, once the editor contains JS files, Phpstorm will be stuck, or even not responding,

Memory usage is always around 1.5G, which is estimated to be insufficient memory.

Adjustment method

In PHPSTORM9 time, adjusted once, used very well, memory up to 3g, recently upgraded to Phpstorm 10, found that the previous configuration items are missing. So make a note of the adjustment method, to prevent the next time forget again.

# with Mac OSX, edit Phpstorm's startup profile, other platforms depending on the situation: sudo vim/applications/phpstorm.app/contents/bin/phpstorm.vmoptions# modify parameters , can be modified according to the specific needs-xms512m-xmx2048m-xx:maxpermsize=350m-xx:reservedcodecachesize=240m-xx:+usecompressedoops

Reference

  • Configuring JVM options and Platform properties

  • Contact Us

    The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

    If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

    A Free Trial That Lets You Build Big!

    Start building with 50+ products and up to 12 months usage for Elastic Compute Service

    • Sales Support

      1 on 1 presale consultation

    • After-Sales Support

      24/7 Technical Support 6 Free Tickets per Quarter Faster Response

    • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.