facebook

increase jvm heap size for forked javaw

  1. MyEclipse IDE
  2.  > 
  3. Installation, Configuration & Updates
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #286309 Reply

    dweds
    Member

    Good morning,

    I’m running Ant build in MyEclipse, and get an out of memory when the javaw reaches about 101,000k.

    I tried a number of ways to increase the heap size, but in the Windows Task Manager, I can see that even though the javaw that MyEcllipse starts with has an increased heap size, the heap size for the javaw that is forked by Ant build through MyEclipse still doesn’t increase, because the javaw for the Ant build always has an out of memory at about 101,000k.

    I’ve tried the following:
    – set ANT_OPTS=-Xmx512M in Windows Environment Vriable
    – changed the Antbuild to the like of <javac fork=”yes” memoryMaximumSize=”512M” …/>
    – start MyEclipse from command line: d:\eclipse\eclipse.exe -vmargs -Xms128m -Xmx320m
    – added -Xmx through MyEclipse Run_Run
    – added -Xmx for MyEclipse\Weindows\Preference\..\ installed JRE
    – modified xdoclet setting in MyEclipse.

    Nothing increased the heap size for the forked javaw. >:-[

    Could you please advise what might be wrong?

    Thank you!

    #286431

    Loyal Water
    Member

    dweds,
    You will have to enter the memory args in the “External Tool” window that you use for running the script.

    Attachments:
    You must be logged in to view attached files.
Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: increase jvm heap size for forked javaw

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