> I am trying to incorporate Maven dependency management into my ant build as > follows: [del] > java.lang.OutOfMemoryError: PermGen space >
This is a Java problem rather than a Maven or Ant one. It has to do with not enough memory to load all the classes into the PermGen space. You can read up about PermGen space to get more of an idea as well * http://www.oracle.com/technetwork/java/javase/memleaks-137499.html#gbyuu * http://java.dzone.com/articles/busting-permgen-myths See http://stackoverflow.com/questions/88235/dealing-with-java-lang-outofmemoryerror-permgen-space-error for some solutions. It talks about Tomcat, but the problem occurs in command line Java. As a workaround use (or large values than 128M if needed) -XX:MaxPermSize=128M Also look at similar XX options at http://www.oracle.com/technetwork/java/javase/tech/vmoptions-jsp-140102.html --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
