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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 26, 20262026-05-26T23:29:56+00:00 2026-05-26T23:29:56+00:00

# I am using Buildr as my build tool. Part of my build process

  • 0

#
I am using Buildr as my build tool. Part of my build process generates Java source from a WSDL using JAX-WS. I have an ANT build script that does this with the wsimport ant task. Using the AntWrap Ruby module in Buildr I can do the same thing.

My problem is I am getting the OutOfMemoryError PermGen space when trying to generate source for many WSDL’s. I got the same problem when running Ant by itself but resolved it by setting the ANT_OPTS environment variable to:

set ANT_OPTS=-Xmx512m -XX:PermSize=64m -XX:MaxPermSize=128m

But when I run my build using Buildr I still get the error even though this environment variable is set. I have even tried setting this variable in my build file but this hasn’t helped.

My environment is as follows:

  • windows XP
  • JRuby 1.6.3
  • Buildr 1.4.6
  • AntWrap 0.7.0
  • 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-26T23:29:57+00:00Added an answer on May 26, 2026 at 11:29 pm

    Did you try setting JAVA_OPTS in the buildfile, I am not sure if buildr/antwrap picks up the ANT_OPS environment variables.

    ENV['JAVA_OPTS'] ||= '-Xms1g -Xmx1g'
    
    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

In the build process for a .NET C# tool, I have been using ILMerge
As Android Java projects use Ant as a build tool, using Ivy for dependency
I'm building a few Java-only projects using simple-build-tool. When I publish the artifacts from
what's the point of using ant, maven, and buildr? won't the using build in
We were using a build script to automate our publishing process and it was
I´m busy converting an existing project from an Ant build to one using Maven.
We have a build and deployment tool and as part of the tool before
I'm using Maven in the context of another build-tool (leiningen for Clojure, but this
We are using TFS build and we have a couple of custom steps within
We are using Entity Framework 4.3.1's migrate.exe tool to run database migrations from our

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.