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

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 12, 20262026-06-12T22:37:52+00:00 2026-06-12T22:37:52+00:00

I have 4G memory(64-bit). Currently, I use default memory setting in Eclipse IDE(JUNO). when

  • 0

I have 4G memory(64-bit). Currently, I use default memory setting in Eclipse IDE(JUNO). when I deploy the application on JBoss 7.1 I get Out Of Memory error. I would like to know memory ratio of heap memory and permgen memory? Let say, if I set 1G memory for heap memory, permgen memory will be 512M, just example. If so, permgen will be 50% of heap memory. Could you provide the way for memory allocatation for them?

Currently eclipse.ini

-startup
plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
--launcher.library
plugins/org.eclipse.equinox.launcher.win32.win32.x86_64_1.1.200.v20120522-1813
-product
org.eclipse.epp.package.jee.product
--launcher.defaultAction
openFile
--launcher.XXMaxPermSize
512M
-showsplash
org.eclipse.platform
--launcher.XXMaxPermSize
512m
--launcher.defaultAction
openFile
-vmargs
-Dosgi.requiredJavaVersion=1.5
-Dhelp.lucene.tokenizer=standard
-Xms128m
-Xmx1024m

Cause :

    Caused by: java.lang.OutOfMemoryError: Java heap space
  • 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-12T22:37:53+00:00Added an answer on June 12, 2026 at 10:37 pm

    It depends on the typical memory usage you’re seeing. When you get an out of memory error it should say if it’s for perm gen or heap space; adjust accordingly.

    Edit: If it’s saying you’re out of heap space then it’s the Xmx1024m you want to increase. Perhaps try Xmx2g.

    I’ve also assumed it’s Eclipse you’re seeing the OutOfMemoryError for? If it’s actually for JBoss then eclipse.ini won’t help as when you deploy to JBoss it’ll be a different VM. In that case you’d want to increase the Xmx value in $JBOSS_HOME/bin/appclient.conf

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

Sidebar

Related Questions

I have a rather memory hungry java application. On my 32 bit systems with
I have a little bit seen the representation of an array in memory with
I have a 64-bit i7 machine. Suppose I allocate memory for n 32-bit integers.
So given I have a 64 bit machine. I know that the memory of
If I have a int32 type integer in the 8-bit processor's memory, say, 8051,
I'd like to ask about memory allocation in 64-bit ubuntu Linux. I have the
Currently we have MS SQL Server 2005 (32 bit). We have 1 assembly (and
In an application I'm currently working on I have my first activity with a
Currently we have developed application using Java 6 based on windows 32bit(Dual core &
I have an information retrieval application that creates bit arrays on the order of

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.