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 7676129
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 31, 20262026-05-31T17:07:40+00:00 2026-05-31T17:07:40+00:00

Java + gwt + hibernate => the compilation has no errors Java + gwt

  • 0

Java + gwt + hibernate => the compilation has no errors
Java + gwt + hibernate + smartgwt = gc overhead limit exceeded
I just add to project.gwt.xml the string “inherits name=’com.smartgwt.SmartGwt’/” and get OutOfMemoryError
I’ve found a work-around of the same error in grails and it says I must vary the heapsize parameter of compiler. I’ve set in Idea java compiler maximum heap size = 512, 1024 and more, but still doesn’t work.

    <?xml version="1.0" encoding="UTF-8"?>
    <module rename-to='library'>
      <!-- Inherit the core Web Toolkit stuff.                        -->
 <inherits name='com.google.gwt.user.User'/>
 <inherits name='com.smartgwt.'/>

<!-- Inherit the default GWT style sheet.  You can change       -->
<!-- the theme of your GWT application by uncommenting          -->
<!-- any one of the following lines.                            -->
<inherits name='com.google.gwt.user.theme.clean.Clean'/>
<!-- <inherits name='com.google.gwt.user.theme.standard.Standard'/> -->
<!-- <inherits name='com.google.gwt.user.theme.chrome.Chrome'/> -->
<!-- <inherits name='com.google.gwt.user.theme.dark.Dark'/>     -->

<!-- Other module inherits                                      -->

<!-- Specify the app entry point class.                         -->
<entry-point class='ru.leti.alexeeva.client.Library'/>

 <!-- Specify the app servlets.                   -->
<servlet path='/server' class='ru.leti.alexeeva.server.LibraryServiceImpl'/>

<!-- Specify the paths for translatable code                    -->
<source path='client'/>
<source path='shared'/>

 </module>
  • 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-31T17:07:42+00:00Added an answer on May 31, 2026 at 5:07 pm

    I’ve been using gwt+smartgwt+hibernate, I’ve also met this problem. But, recently I haven’t this problem.

    So do you use ant build and hosted mode?
    Here is my build file configuration of jvmarg value both for GWT Compile and java compile.

      <!-- add jvmarg -Xss16M or similar if you see a StackOverflowError -->
      <jvmarg value="-Xmx1025M"/> 
      <jvmarg value="-Xms512M"/> 
      <jvmarg value="-Xss16M"/>
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I am working on a project with MySQL,Hibernate,Java,GWT I am making an entity class
I am working on a project for college that uses GWT, Hibernate and Gilead.
I'm working on a medium-sized project in Java (GWT to be precise), and I'm
I will be starting a small Java (GWT really) project in the near future
I will be tackling a Java (GWT) project soon ( related question ). Maybe
I am developing an application with GWT, Hibernate (XML based mapping), MySQL- in Tomcat6.0.
I'm porting a few java gwt projects into eclipse and the projects depends on
I want to publish message on Facebook's fan page using JAVA/GWT API. Any one
I am using GWT for my client side application. I am not using GWT/Java
What is the best way to update a Java or GWT program from MySQL.

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.