how much size can i set java heap size to with 4gb RAM?


  1. Posts : 7
    windows 7 Ultimate 32-bit
       #1

    how much size can i set java heap size to with 4gb RAM?


    i'm using windows 7 32 bit with 4GB RAM. how much size can i set java heap size to so that other apps are not affected. The eclipse IDE is running slow. i'm not able to set eclipse heap size above 700mb with java heap size set to 2048mb.
      My Computer


  2. Posts : 10,994
    Win 7 Pro 64-bit
       #2

    According to this IBM article, size your Java heap so that your application runs with a minimum heap usage of 40%, and a maximum heap usage of 70%. Although this is an older article I would guess that the parameters would still apply today.

    IBM SDK for Java
      My Computer


  3. Posts : 53,363
    Windows 10 Home x64
       #3

    A 32 bit OS can only utilize up to 3.2GB of ram, and some of that is dedicated to the system and video. I see posts about editing the eclipse.ini for heap size, but I believe there is no set amount that will definitely work.

    eclipse.ini - Eclipsepedia

    java - JVM Heapsize on 32 bit OS - Stack Overflow

    A Guy
      My Computer


 

  Related Discussions
Our Sites
Site Links
About Us
Windows 7 Forums is an independent web site and has not been authorized, sponsored, or otherwise approved by Microsoft Corporation. "Windows 7" and related materials are trademarks of Microsoft Corp.

© Designer Media Ltd
All times are GMT -5. The time now is 17:02.
Find Us