Three solutions for GWT out of memory

Source: Internet
Author: User

First, I forgot to add-xmx1024m (max)-xms1024m (min)-xmn... when the hosted mode is running. In the early stage of the project, we always encounter such an out of memory problem. However, after a certain scale, even if this parameter is modified, even if the hardware supporting facilities of the machine are improved, it is still an unbearable development experience.

Second, in the development process, the source contains a lot of modules, and the hosted mode will try to load them. You can allocate multiple modules during the development process, and delete unnecessary modules during local development *. GWT. the XML file only retains the inherited and current development module *. GWT. XML file. Other configuration files are retained only in the version library, which greatly improves the running speed of the host during development and greatly reduces the memory usage of the host. (The principle remains to be further explored ?.)

Third, delete unnecessary modules in host mode.

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.