2009/5/11 Alex Bennee <kernel-hac...@bennee.com>: > Hi, > > This is odd behaviour. I'm having trouble building packages for the > current stable branch of OpenNMS. Building via the command line with: > > ./build.sh install assembly:directory-inline > > Works fine. However if I try and build a Debian package with the usual: > > dpkg-buildpackage -rfakeroot >
The answer is I can't actually build OpenNMS in one goon a 3G machine. My normal development usually sees a build failure or two and I just re-run and the build completes. Building from within dpkg of course does a complete clean of the src tree causing everything to be be rebuilt from scratch. The build tool (maven/java?) is obviously leaking as it goes and can never complete the build. For the time being I have worked around with re-starting the package build with: dpkg-buildpackage -nc -rfakeroot This is obviously less than optimal but I suspect the problem lies with Ubuntu Hardy Heron's openjdk package. Without upgrading to a more recent OpenJDK (i.e. deviating from Ubuntu's package) I'm not sure what else I can do. I don't suppose there is some magic I can sprinkle in the build process that will force maven/java to free any memory it has? Or is the PermGen error because Java has already tried it's best to reclaim memory and failed? -- Alex, homepage: http://www.bennee.com/~alex/ CV: http://www.bennee.com/~alex/cv.php ------------------------------------------------------------------------------ The NEW KODAK i700 Series Scanners deliver under ANY circumstances! Your production scanning environment may not be a perfect world - but thanks to Kodak, there's a perfect scanner to get the job done! With the NEW KODAK i700 Series Scanner you'll get full speed at 300 dpi even with all image processing features enabled. http://p.sf.net/sfu/kodak-com _______________________________________________ Please read the OpenNMS Mailing List FAQ: http://www.opennms.org/index.php/Mailing_List_FAQ opennms-devel mailing list To *unsubscribe* or change your subscription options, see the bottom of this page: https://lists.sourceforge.net/lists/listinfo/opennms-devel