facebook

Exception in thread "main" java.lang.OutOfMemoryEr

💡
Our Forums Have Moved

For help with installation, bugs reports or feature requests, please head over to our new forums.
Genuitec Community on GitHub

  1. MyEclipse IDE
  2.  > 
  3. General Development
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #314372 Reply

    ArnArn
    Member

    Hello,

    Im currently using Myeclipse Enterprise 6.5. I encountered the error below:

    file:///C:/ContentCreation/Add_ICD9_Code.xslt; Line #56; Column #44; Java heap space
    file:///C:/ContentCreation/Add_ICD9_Code.xslt; Line #56; Column #44; Java heap space
    file:///C:/ContentCreation/Add_ICD9_Code.xslt; Line #56; Column #44; Java heap space
    Exception in thread “main” java.lang.OutOfMemoryError: Java heap space

    If I try reducing the size of my input file to 13k (actual size is 20k) the error does not show and my script runs smoothly however if i ran the actual file with the size of 20k it show the error above. Please advise?

    I have already edited eclipse.ini:
    -vmargs
    -Xms128m
    -Xmx1408m
    -Duser.language=en
    -XX:PermSize=128M
    -XX:MaxPermSize=256M

    Also added -Xmx512M in the tomcat jdk but the error still shows up. any other ideas how to fix the issue?

    Thank You…

    #314379

    support-swapna
    Participant

    ArnArn,

    Can you please answer some questions for me?

    1) Do you have very large projects in your workspace?

    2) How many plugins (in addition to MyEclipse) do you have installed ?

    3) Can you have a look at the following posts which address the memory issues and check if the recommendations work for you?
    http://www.myeclipseide.com/PNphpBB2-viewtopic-t-26348-highlight-memory.html
    http://www.myeclipseide.com/PNphpBB2+file-viewtopic-t-10087.html

    Let us know how it works for you.

    #314405

    ArnArn
    Member

    Hello,

    Thank you very much, i added the argument:

    -Xmx1408m -XX:PermSize=128m -XX:ReservedCodeCacheSize=128m

    in the run run dialog based from the links you provided and the error is not showing anymore. I wonder why is this since i already declared in the ini the max size of 1408?

    Also, im not familiar with plugins as the script im using is only transferred to me. can you please instruct me how to check plugins or site samples for future reference?

    Again, thank you for the help…

    #314417

    support-swapna
    Participant

    ArnArn,

    Glad that it is working fine.

    You can check the plugins from Help > About MyEclipse Blue Edition > Installation Summary > Plugins tab. All the added plugins will be listed here.

    Do let us know if you have any other issues.

Viewing 4 posts - 1 through 4 (of 4 total)
Reply To: Exception in thread "main" java.lang.OutOfMemoryEr

You must be logged in to post in the forum log in