On Mar 29, 2006, at 10:58 AM, Joe Bohn wrote:

I just ran a clean build of trunk and once again received the out of memory error. Here are some of the details:

- Whenever I see this problem I also get multiple instances of messages issued (14 each in this most recent case). I've attached the end of the build messages below.

Aaron raised a jira regarding the multiple messages -- http:// issues.apache.org/jira/browse/GERONIMO-1509

I agree with Aaron that this is caused by logging in our junit tests. I doubt that this is the root of your OutOfMemory problem. The redundant logging of messages occurs on all OS's and I just don't see it consuming large amounts of memory.


- The junk in %temp% typically consists of 3 different type of items:
1) A number of geronimo deployment files of the form: geronimo- deploymentUtil41110.tmpdir 2) A number of package directories which appear to contain the deployed configurations of the form: package59537.tmpdir
3)  A number of test jars of the form:  test-2-40867.jar

I'd concentrate on the Temp files to begin with... They're more likely at the heart of the problem -- they give an explanation for why this is only happening on Windoze...

Each open file descriptor is going to be consuming memory. As I recall, the delete-on-exit function will also consume memory. How many temp files are being created during the course of a build?

Around "LDAP Demo for Jetty", my build on Mac OSX is only using ~ 60megs. By the end of the build, however, I'm using 90 out of 108 megs. So, we don't have a lot of headroom. Quite possible that there's a memory leak floating around...

--kevan (who is happy to not have this problem, yet... ;-)





Gory details below:

Here's a sample of the build output on the console:

09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +----------------------------------------
| geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
09:59:31,323 INFO  [ReactorTag] | geronimo-configs LDAP Demo for Jetty
| Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
09:59:31,323 INFO  [ReactorTag] | Memory: 86M/105M
+----------------------------------------
09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- 09:59:31,323 INFO [ReactorTag] +---------------------------------------- DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml 09:59:31,370 WARN [PluginScriptParser] DEPRECATED: the default goal should be specified in the <build> section of project.xml instead of maven.xml You are working offline so the build will continue, but ldap- realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but ldap-realm-1.2-SNAPSHOT.car may be out of date! You are working offline so the build will continue, but geronimo- ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date! 09:59:31,823 WARN [DependencyVerifier] You are working offline so the build will continue, but geronimo-ldap-demo-1.2-SNAPSHOT.war may be out of date!
build:start:

multiproject:install-callback:
    [echo] Running car:install for LDAP Demo for Jetty
Generated package C:\geronimo\configs\ldap-demo-jetty\target\ldap- demo-jetty-1.2-SNAPSHOT.car

BUILD FAILED
File...... C:\geronimo\maven.xml
Element... maven:reactor
Line...... 222
Column.... -1
Unable to obtain goal [multiproject:install-callback] -- C: \Documents and Settings\bohn\.maven\cache\maven-artifact-plugin-1.6 \plugin.jelly:67:-1: <ant:echo> ja
va.lang.OutOfMemoryError
Total time   : 19 minutes 55 seconds
car:prepare-plan:

car:package:

car:install:
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
09:59:36,026 INFO  [App] Total time   : 19 minutes 55 seconds
Finished at  : Wednesday, March 29, 2006 9:59:36 AM EST
09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST 09:59:36,042 INFO [App] Finished at : Wednesday, March 29, 2006 9:59:36 AM EST

09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]
09:59:36,042 INFO  [App]



--
Joe Bohn
joe.bohn at earthlink.net

"He is no fool who gives what he cannot keep, to gain what he cannot lose." -- Jim Elliot

Reply via email to