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

  • Home
  • SEARCH
  • 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 8143859
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 6, 20262026-06-06T13:13:29+00:00 2026-06-06T13:13:29+00:00

I have a swing application when i run it on windows i have no

  • 0

I have a swing application when i run it on windows i have no problem with it but when i run it on linux i get the out of memory permgen exception after few time i am using it.

On windows i use jdk6 update 32 32bit, on linux i use the same jdk 6, same update version but 64bit.

The only thing that change when i run the application on windows/linux is the look and feel, when i run it on windows i use one, when i run it on linux i use another but they are both from jgoodies site.

What it can be the reason for this problem?

Thanks for the help

  • 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-06T13:13:30+00:00Added an answer on June 6, 2026 at 1:13 pm

    While you think this is a Windows versus Linux thing, I think that the more salient difference between the two systems is 32 bit versus 64 bit.

    On a 64 bit JVM, references and reference-valued fields occupy twice as many bytes, and padding increases in other cases. Since a String object includes a reference field, etc, this could be sufficient to make the objects larger. And that could result in greater PermGen usage if you have lots of String literals or manually interned Strings.

    Either way, the obvious solution is to increase the Permgen size via the JVM command line options. Indeed, apart from figuring out some way to reduce the application’s Permgen usage (which may be impractical), this is probably the only solution.

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

Sidebar

Related Questions

I have a java application that will run on Windows 7 (using Swing, App
I have a java swing database application which needs to be run on Windows
i have a swing application that i would like to run on os x
So I have a strange problem, I have a java swing application that has
I made a simple Swing application. But the rendering behaves buggy. Have I done
I have Swing Java application manifesting an error on linux, which I need to
I Have Create a One Swing Application and I Want To Run My Swing
I have a Swing application running on Java 1.6.0_20 on Windows XP (32-bit). I
I have constructed a Swing Application that needs to be run from a browser.
I have created an executable java Swing .jar application. It works fine on Windows.

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.