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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 25, 20262026-05-25T15:14:20+00:00 2026-05-25T15:14:20+00:00

I have a Java application running under JBoss AS 7 that is used to

  • 0

I have a Java application running under JBoss AS 7 that is used to call a fairly complicated bash script using Runtime.getRuntime().exec(command). The bash script is failing because cvs is reporting that it is running out of memory (the error was “E342: Out of memory!” to be exact).

So should I be increasing the amount of memory available to JBoss AS (with JAVA_OPTS=”-Xms256m -Xmx2048m” or something similar), or does this indicate that the OS itself has run out of memory?

  • 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-25T15:14:20+00:00Added an answer on May 25, 2026 at 3:14 pm

    It turns out it was vim. I was running the script that called cvs under the empty command, which may have caused the issue. In the end I just created a script to edit the message file with a generic message:

    #!/bin/sh
    # Add a generic message
    echo "Some Generic Message" > $1
    # Update the time stamp. If you don't, you'll get a
    # "Log message unchanged or not specified" error.
    # the cvs timestamp comparison routine has a resolution
    # of one second, so sleep to ensure that the timestamps
    # are detected as being different.
    sleep 1
    touch $1
    exit 0
    

    Then set the EDITOR or CVSEDITOR environment variable to point to the script.

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

Sidebar

Related Questions

We have an web application running under JBoss 5 which periodically launches a 'java'
I have a Java application that is running perfectly under windows, i go to
I have a Java web application running on JBoss using JAAS for authentication. I
We have an issue related to a Java application running under a (rather old)
I have an Java application running in JBoss in which I have enabled JMX
I have made an application using Java/Hibernate/MySQL, but whenever I try running it, it
I have a java web application (running on JBoss), which need to authorizate users
We have a Web Java based application running on JBoss with allowed maximum heap
I have a Swing Application running under Linux, that has problems to display accented
I have a java web application running under tomcat in a Sun java 6

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.