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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 5, 20262026-06-05T17:13:15+00:00 2026-06-05T17:13:15+00:00

I’ve got a Java web app (WAR) deployed to Tomcat on a remote Solaris

  • 0

I’ve got a Java web app (WAR) deployed to Tomcat on a remote Solaris machine that is throwing IOExceptions claiming “Not enough space”. After spending several days painfully researching the issue, I see that I have some process forking going on in my code that requires Solaris to place both parent/child processes in the system swap space, and every now and again there is not enough swap space to contain both processes. Here is an article that explains what is happening more eloquently/intelligently than I can. But its definitely the culprit.

So I need to put in a ticket with our systems admin to increase swap space, but I’m stuck trying to figure out how much space I need. I can use JConsole to profile memory usage on the server, but on the VM Summary tab the swap space used/available info seems to only get read when JConsole starts up and does not refresh. This prevents me from using JConsole to see real-time swap usage while I reproduce this forking/memory issue.

The only server monitor I have access to is something called prstat (I’m used to top and nmon).

I need to give systems a specific number (ie. Please increase myserver.net’s swap space by 250M, etc.). How can I obtain this number? The server is running on Java 1.6u25 so maybe there are some Java tools I’m not aware of, or perhaps some Solaris profilers/monitors I might be able to use.

  • 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-06-05T17:13:17+00:00Added an answer on June 5, 2026 at 5:13 pm

    It would help if you provide more information like the current RAM and swap size, the number of JVMs running, their heap size and virtual memory usage and the expected level of concurrency of these forking processes. prstat -Z output would also help.

    In any case, you can monitor you virtual memory usage with the swap -s command and make sure the last value (…k available) is always large enough.

    Note that despite a common belief, there is no problem at all having too large a swap so I would suggest simply doubling you current swap area size as a first approach.

    You got the current swap area size with the swap -l command.

    Here is an article about Solaris application memory management that might also help.

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

Sidebar

Related Questions

That's pretty much it. I'm using Nokogiri to scrape a web page what has
I've got a string that has curly quotes in it. I'd like to replace
I'm parsing an RSS feed that has an ’ in it. SimpleXML turns this
link Im having trouble converting the html entites into html characters, (&# 8217;) i
I have a string like this: La Torre Eiffel paragonata all’Everest What PHP function
I have a French site that I want to parse, but am running into
I am doing a simple coin flipping experiment for class that involves flipping a
We're building an app, our first using Rails 3, and we're having to build
i got an object with contents of html markup in it, for example: string
Seemingly simple, but I cannot find anything relevant on the web. What is 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.