MB_OF_MEMORY calculation is incorrect for Windows

XMLWordPrintable

    • Type: Bug
    • Resolution: Duplicate
    • Priority: P4
    • 7
    • Affects Version/s: 7
    • Component/s: infrastructure
    • generic
    • windows

      On Windows, MB_OF_MEMORY is calculated in jdk/make/common/shared/Platform.gmk with explicit reference to C:/cygwin/bin/{free,bash}.exe. AFAIK, it is not required anywhere else in the build that cygwin be installed at that location, and I can find no copy of free.exe available in any of my cygwin installations, nor do I see how to get it from cygwin itself. (Perhaps it is part of some bundle, but I don't know which).

      The default MB_OF_MEMORY, 512, causes smaller amounts of VM to be used. My Windows box has 2048 mb, and IIRC the JPRT boxes are pretty beefy, but unfortunately the current MB_OF_MEMORY limit causes them to be throttled back, and underutilized.

            Assignee:
            Kelly Ohair (Inactive)
            Reporter:
            Dave Bristor (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

              Created:
              Updated:
              Resolved:
              Imported:
              Indexed: