Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7160301
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 28, 20262026-05-28T13:22:37+00:00 2026-05-28T13:22:37+00:00

I am upgrading my project from GWT 2.3.0 to 2.4.0. As a side affect,

  • 0

I am upgrading my project from GWT 2.3.0 to 2.4.0. As a side affect, my GWT compilation fails because it runs out of memory. I searched online and found that you can specify additional memory parameters inside of the Maven pom.xml file (by adding a configuration block) like this:

<plugin>
    <groupId>org.codehaus.mojo</groupId>
    <artifactId>gwt-maven-plugin</artifactId>
    <version>2.4.0</version>
    <executions>
        <execution>
            <goals>
                <goal>compile</goal>
            </goals>
        </execution>
    </executions>
    <configuration>
        <extraJvmArgs>-XX:MaxPermSize=512m -Xmx1024m</extraJvmArgs>
    </configuration>
</plugin>

This works if I build directly with Maven, but when I build with IntelliJ, it still runs out of memory. When I view the process details on my OS while IntelliJ is compiling, it is still using -Xmx128m as a flag passed to the JVM.

How can I configure the max memory that the plugin can use inside of IntelliJ?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-28T13:22:37+00:00Added an answer on May 28, 2026 at 1:22 pm

    IntelliJ’s GWT plugin will do the build using its own settings and won’t use the ones in the Maven plugin.

    You need to go to the projects settings (see http://www.jetbrains.com/idea/webhelp/gwt-facet.html)

    You can increase your ‘Compiler Maximum Heap’ there.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

After upgrading a project from Flex4 Beta1 to Beta2, I've found that the background-image
I have been refraining from upgrading Xcode until one specific project is out of
We're upgrading a project from Sitefinity 3.7 to 4.4 and some of our controls
I found this line of code when upgrading a C++ Builder project to RAD
I am upgrading a project from Dojo 1.6.1 using AMD and RequireJS to Dojo
I am upgrading a project from EntLib 4.1 to EntLib 5. I've skimmed through
We are upgrading our project from Delphi 2006 to Delphi 2010. Old code was:
I'm upgrading a project from NServiceBus 2.6 to 3.0. We have code similar to
I am upgrading a project from Delphi 2009 to D2010 and came across the
I'm upgrading libraries on my project and upgraded pdfbox from 0.6.7 to version 1.6.0

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.