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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T12:52:47+00:00 2026-05-30T12:52:47+00:00

I have a Java Multiproject (About 15 sub projects) in Netbeans 6.9.1. Nearly all

  • 0

I have a Java Multiproject (About 15 sub projects) in Netbeans 6.9.1. Nearly all of these have JUNIT tests that should get run in the build cycle. I build locally prior to submitting an automated build to our servers. I’ve found that building locally I have a consistent issue:

  1. If I build with tests (Just regular “Build”), it will fail. It used to fail with OOM PermSpace Exceptions until I increased the MaxPerm space. Now it fails while parsing a WSDL for one of the web services projects.
  2. If I then do a “Build” again, directly following step 1, it will complete successfully with tests.
  3. If I, instead of #1, Build and Skip Tests it will complete successfully the first time through.

At first glance this seems to be a resource issue or something when building the dependencies, or running the tests. However, the build in our build automation server works fine the first time and I have plenty of memory space allocated.

My peers have had the same issue, and continue to build twice. The workaround works, but I’m curious as to if any Netbeans veterans out there have any insight or similar experience?

Thoughts??

(EDIT:) More an more i think it could be configuration, here’s whats in my default_options:

"netbeans_default_options-J-client -J-Xss2m -J-Xms32m -J-Xmx128m -J-XX:PermSize=32m -J-XX:MaxPermSize=200m ..."
  • 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-30T12:52:48+00:00Added an answer on May 30, 2026 at 12:52 pm

    I just left this on the table for a while, but for reasons other than the above I installed the latest Netbeans (7.1) and by default it looks like it has solved this problem. Or at least works better than 6.9. The following startup properties were supplied by default:

    netbeans_default_options="-J-client -J-Xss2m -J-Xms32m -J-XX:PermSize=32m -JDapple.laf.useScreenMenuBar=true -J-Dapple.awt.graphics.UseQuartz=true -J-Dsun.java2d.noddraw=true -J-Dsun.zip.disableMemoryMapping=true"
    

    This is far less beefy than before but seems to work. I’ve had a couple crashes but not near as bad as before. I may increase the memory limits slightly if it continues, but an upgrade seemed to solve the problem for the most part with far less resources.

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

Sidebar

Related Questions

I have java app that uses Axis to get data from web service. web
I have been told that the code <script> alert(java.lang.System.getProperty(java.version)); </script> should alert the java
I have Java Map (out of Strings and Ints) objects that I want to
I have Java Desktop application that displays some information in a JTable that contains
I have Java app that takes data from external app. Incoming JSONs are in
I have java application that is crashing while in production. It doesn't do so
I have Java bean class and I want to sort list of these beans
I have Java ME Application that uses HttpConnection API, Here I am easily able
I have Java desktop application that works with CSV files. And i want add
I have java primitive int and its wrapper Integer ,do it mean that the

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.