Uploaded image for project: 'BuildTools'
  1. BuildTools
  2. BUILDTOOLS-179

Can't reserve memory

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • Windows 10 Pro x64, 2x2GB RAM

      After cloning the repositories through Git bash (following the install instructions) I get this error and it fails to build the spigot jar

      Loading BuildTools version: git-BuildTools-1847da7-45 (#45)
      shadow7483147
      [email protected]
      Attempting to build version: 'latest' use --rev <version> to override
      Found version
      {
      "name": "566",
      "description": "Jenkins build 566",
      "refs":

      Unknown macro: { "BuildData"}

      }

      Pulling updates for C:\Games\MinecraftSrv\buildSpigot\BuildData\.git
      Successfully fetched updates!
      Checked out: 838b40587fa7a68a130b75252959bc8a3481d94f
      Pulling updates for C:\Games\MinecraftSrv\buildSpigot\Bukkit\.git
      Successfully fetched updates!
      Checked out: 76ffae6d58900d6ffd6f4a165d03b16eac0aaf65
      Pulling updates for C:\Games\MinecraftSrv\buildSpigot\CraftBukkit\.git
      Successfully fetched updates!
      Checked out: 18fbb24b46427e2b41d3715a79f829b356b05ed5
      Pulling updates for C:\Games\MinecraftSrv\buildSpigot\Spigot\.git
      Successfully fetched updates!
      Checked out: db6de12919982a660de79df83af75e9c18965aa8
      Attempting to build Minecraft with details: VersionInfo(minecraftVersion=1.8.8, accessTransforms=bukkit-1.8.8.at, classMappings=bukkit-1.8.8-cl.csrg, memberMappings=bukkit-1.8.8-members.csrg, packageMappings=package.srg, minecraftHash=a0671390aa0691e70a950155aab06ffb)
      Found good Minecraft hash (a0671390aa0691e70a950155aab06ffb)
      Found good Minecraft hash (a0671390aa0691e70a950155aab06ffb)
      0 [main] sh 4608 C:\Users\Tyler\AppData\Local\Programs\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
      323 [main] sh 4608 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      1 [main] sh 2756 fork: child -1 - forked process 4608 died unexpectedly, retry 0, exit code 0x100, errno 11
      C:\Games\MinecraftSrv\buildSpigot\apache-maven-3.2.5/bin/mvn: fork: retry: No child processes
      1009354 [main] sh 788 C:\Users\Tyler\AppData\Local\Programs\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
      1010139 [main] sh 788 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      2484383 [main] sh 2756 fork: child -1 - forked process 788 died unexpectedly, retry 0, exit code 0x100, errno 11
      C:\Games\MinecraftSrv\buildSpigot\apache-maven-3.2.5/bin/mvn: fork: retry: No child processes
      4494095 [main] sh 1544 C:\Users\Tyler\AppData\Local\Programs\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
      4494852 [main] sh 1544 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      5374908 [main] sh 2756 fork: child -1 - forked process 1544 died unexpectedly, retry 0, exit code 0x100, errno 11
      C:\Games\MinecraftSrv\buildSpigot\apache-maven-3.2.5/bin/mvn: fork: retry: No child processes
      9384661 [main] sh 8180 C:\Users\Tyler\AppData\Local\Programs\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
      9385474 [main] sh 8180 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      10828280 [main] sh 2756 fork: child -1 - forked process 8180 died unexpectedly, retry 0, exit code 0x100, errno 11
      C:\Games\MinecraftSrv\buildSpigot\apache-maven-3.2.5/bin/mvn: fork: retry: No child processes
      18852345 [main] sh 6584 C:\Users\Tyler\AppData\Local\Programs\Git\usr\bin\sh.exe: *** fatal error in forked process - fork: can't reserve memory for parent stack 0x600000 - 0x800000, (child has 0x400000 - 0x600000), Win32 error 487
      18853146 [main] sh 6584 cygwin_exception::open_stackdumpfile: Dumping stack trace to sh.exe.stackdump
      20327590 [main] sh 2756 fork: child -1 - forked process 6584 died unexpectedly, retry 0, exit code 0x100, errno 11
      C:\Games\MinecraftSrv\buildSpigot\apache-maven-3.2.5/bin/mvn: fork: Resource temporarily unavailable
      Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, C:\Games\MinecraftSrv\buildSpigot\apache-maven-3.2.5/bin/mvn, install:install-file, -Dfile=work\mapped.ba9a3cce.jar, -Dpackaging=jar, -DgroupId=org.spigotmc, -DartifactId=minecraft-server, -Dversion=1.8.8-SNAPSHOT]
      at org.spigotmc.builder.Builder.runProcess(Builder.java:535)
      at org.spigotmc.builder.Builder.main(Builder.java:307)

            Unassigned Unassigned
            noruzenchi86 Noruzenchi86
            Votes:
            1 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: