OutOfMemory Error with Maven even when solutions are tried

    • Type: Bug
    • Resolution: Fixed
    • Priority: Minor
    • Environment:

      32-bit system
      Windows XP SP3
      Java Development Kit 1.8.0_25
      Git Bash
      4 GB Ram
      Dell Inspiron 1420
      Intel Core 2 Duo,

    • BuildTools, Maven

      Any time I run BuildTools command in the Git Bash.towards the end of the process it complains about Duplicate files in the maven repository, downloads some other files, then has an OutOfMemory Error Posted Below:
      [ERROR] Java heap space -> [Help 1]
      [ERROR]
      [ERROR] To see the full stack trace of the errors, re-run Maven with the -e switch.
      [ERROR] Re-run Maven using the -X switch to enable full debug logging.
      [ERROR]
      [ERROR] For more information about the errors and possible solutions, please read the following articles:
      [ERROR] [Help 1] http://cwiki.apache.org/confluence/display/MAVEN/OutOfMemoryError
      Exception in thread "main" java.lang.RuntimeException: Error running command, return status !=0: [sh, c:\Server\apache-maven-3.2.3/bin/mvn, clean, install]
      at org.spigotmc.builder.Builder.runProcess(Builder.java:380)
      at org.spigotmc.builder.Builder.main(Builder.java:307)
      I have tried increasing RAM for Maven, exiting and shutting down processes to decrease RAM usage and I have tried deleting all files in the repository before starting the process, my server cannot update as this is a critical issue any help would be greatly appreciated!

            Assignee:
            Unassigned
            Reporter:
            Devin Skowron
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: