[jbossts-issues] [JBoss JIRA] (JBTM-2277) Soatest node runs out of memory

Tom Jenkinson (JIRA) issues at jboss.org
Tue Nov 11 09:33:48 EST 2014


    [ https://issues.jboss.org/browse/JBTM-2277?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13018682#comment-13018682 ] 

Tom Jenkinson commented on JBTM-2277:
-------------------------------------

You can disable the warning by putting this:-XX:-UseGCOverheadLimit however when you do this the build hangs. If you jstack it you get:

{quote}
[tom at TOM-PC narayana](Bash-fu)(13:37:11) $ jstack 8396                                                                                                                                                               
2014-11-10 14:55:54                                                                                                                                                                                                  
Full thread dump Java HotSpot(TM) 64-Bit Server VM (24.65-b04 mixed mode):                                                                                                                                           
                                                                                                                                                                                                                     
"Service Thread" daemon prio=6 tid=0x000000000a758000 nid=0x20c4 runnable [0x0000000000000000]                                                                                                                       
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
                                                                                                                                                                                                                     
"C2 CompilerThread1" daemon prio=10 tid=0x00000000098cd800 nid=0xff8 waiting on condition [0x0000000000000000]                                                                                                       
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
                                                                                                                                                                                                                     
"C2 CompilerThread0" daemon prio=10 tid=0x00000000098c8000 nid=0x7f4 waiting on condition [0x0000000000000000]                                                                                                       
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
                                                                                                                                                                                                                     
"Attach Listener" daemon prio=10 tid=0x00000000098c7800 nid=0x2018 waiting on condition [0x0000000000000000]                                                                                                         
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
                                                                                                                                                                                                                     
"Signal Dispatcher" daemon prio=10 tid=0x00000000098c6800 nid=0x1e34 runnable [0x0000000000000000]                                                                                                                   
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
                                                                                                                                                                                                                     
"Finalizer" daemon prio=8 tid=0x000000000261a000 nid=0xbc8 in Object.wait() [0x000000000bc6e000]                                                                                                                     
   java.lang.Thread.State: WAITING (on object monitor)                                                                                                                                                               
        at java.lang.Object.wait(Native Method)                                                                                                                                                                      
        - waiting on <0x00000000d3c9b8e0> (a java.lang.ref.ReferenceQueue$Lock)                                                                                                                                      
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:135)                                                                                                                                              
        - locked <0x00000000d3c9b8e0> (a java.lang.ref.ReferenceQueue$Lock)                                                                                                                                          
        at java.lang.ref.ReferenceQueue.remove(ReferenceQueue.java:151)                                                                                                                                              
        at java.lang.ref.Finalizer$FinalizerThread.run(Finalizer.java:209)                                                                                                                                           
                                                                                                                                                                                                                     
"Reference Handler" daemon prio=10 tid=0x0000000002619000 nid=0x1b7c runnable [0x000000000ba6f000]                                                                                                                   
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
        at java.lang.Object.notifyAll(Native Method)                                                                                                                                                                 
        at java.lang.ref.ReferenceQueue.enqueue(ReferenceQueue.java:68)                                                                                                                                              
        - locked <0x00000000d3c9b8e0> (a java.lang.ref.ReferenceQueue$Lock)                                                                                                                                          
        - locked <0x00000000dbef56e0> (a java.lang.ref.Finalizer)                                                                                                                                                    
        at java.lang.ref.Reference$ReferenceHandler.run(Reference.java:146)                                                                                                                                          
                                                                                                                                                                                                                     
"main" prio=6 tid=0x0000000002588000 nid=0x1550 runnable [0x000000000294d000]                                                                                                                                        
   java.lang.Thread.State: RUNNABLE                                                                                                                                                                                  
        at org.apache.maven.model.Dependency.getManagementKey(Dependency.java:605)                                                                                                                                   
        at org.apache.maven.model.merge.MavenModelMerger.getDependencyKey(MavenModelMerger.java:631)                                                                                                                 
        at org.apache.maven.model.management.DefaultDependencyManagementInjector$ManagementModelMerger.mergeManagedDependencies(DefaultDependencyManagementInjector.java:73)                                         
        at org.apache.maven.model.management.DefaultDependencyManagementInjector.injectManagement(DefaultDependencyManagementInjector.java:50)                                                                       
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:429)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:398)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:389)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:1106)                                                                                             
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:427)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:398)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:389)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.importDependencyManagement(DefaultModelBuilder.java:1106)                                                                                             
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:427)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:398)                                                                                                                   
        at org.apache.maven.model.building.DefaultModelBuilder.build(DefaultModelBuilder.java:389)                                                                                                                   
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:159)                                                                                                                      
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:118)                                                                                                                      
        at org.apache.maven.project.DefaultProjectBuilder.initProject(DefaultProjectBuilder.java:672)                                                                                                                
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:174)                                                                                                                      
        at org.apache.maven.project.DefaultProjectBuilder.build(DefaultProjectBuilder.java:364)                                                                                                                      
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:236)                                                                                              
        at org.apache.maven.project.DefaultMavenProjectBuilder.buildFromRepository(DefaultMavenProjectBuilder.java:251)                                                                                              
        at org.codehaus.mojo.license.api.DefaultDependenciesTool.loadProjectDependencies(DefaultDependenciesTool.java:206)                                                                                           
        at org.codehaus.mojo.license.DownloadLicensesMojo.execute(DownloadLicensesMojo.java:256)                                                                                                                     
        at org.apache.maven.plugin.DefaultBuildPluginManager.executeMojo(DefaultBuildPluginManager.java:132)                                                                                                         
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:208)                                                                                                                           
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:153)                                                                                                                           
        at org.apache.maven.lifecycle.internal.MojoExecutor.execute(MojoExecutor.java:145)                                                                                                                           
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:116)                                                                                                  
        at org.apache.maven.lifecycle.internal.LifecycleModuleBuilder.buildProject(LifecycleModuleBuilder.java:80)                                                                                                   
        at org.apache.maven.lifecycle.internal.builder.singlethreaded.SingleThreadedBuilder.build(SingleThreadedBuilder.java:51)                                                                                     
        at org.apache.maven.lifecycle.internal.LifecycleStarter.execute(LifecycleStarter.java:120)                                                                                                                   
        at org.apache.maven.DefaultMaven.doExecute(DefaultMaven.java:347)                                                                                                                                            
        at org.apache.maven.DefaultMaven.execute(DefaultMaven.java:154)                                                                                                                                              
        at org.apache.maven.cli.MavenCli.execute(MavenCli.java:582)                                                                                                                                                  
        at org.apache.maven.cli.MavenCli.doMain(MavenCli.java:214)                                                                                                                                                   
        at org.apache.maven.cli.MavenCli.main(MavenCli.java:158)                                                                                                                                                     
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)                                                                                                                                               
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)                                                                                                                             
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)                                                                                                                     
        at java.lang.reflect.Method.invoke(Method.java:606)                                                                                                                                                          
        at org.codehaus.plexus.classworlds.launcher.Launcher.launchEnhanced(Launcher.java:289)                                                                                                                       
        at org.codehaus.plexus.classworlds.launcher.Launcher.launch(Launcher.java:229)                                                                                                                               
        at org.codehaus.plexus.classworlds.launcher.Launcher.mainWithExitCode(Launcher.java:415)                                                                                                                     
        at org.codehaus.plexus.classworlds.launcher.Launcher.main(Launcher.java:356)                                                                                                                                 
                                                                                                                                                                                                                     
"VM Thread" prio=10 tid=0x000000000a703800 nid=0x1bc4 runnable                                                                                                                                                       
                                                                                                                                                                                                                     
"GC task thread#0 (ParallelGC)" prio=6 tid=0x000000000259e800 nid=0x15e4 runnable                                                                                                                                    
                                                                                                                                                                                                                     
"GC task thread#1 (ParallelGC)" prio=6 tid=0x00000000025a0800 nid=0xf68 runnable                                                                                                                                     
                                                                                                                                                                                                                     
"GC task thread#2 (ParallelGC)" prio=6 tid=0x00000000025a2000 nid=0x1b0c runnable                                                                                                                                    
                                                                                                                                                                                                                     
"GC task thread#3 (ParallelGC)" prio=6 tid=0x00000000025a3800 nid=0x21c4 runnable                                                                                                                                    
                                                                                                                                                                                                                     
"GC task thread#4 (ParallelGC)" prio=6 tid=0x00000000025a7000 nid=0x236c runnable                                                                                                                                    
                                                                                                                                                                                                                     
"GC task thread#5 (ParallelGC)" prio=6 tid=0x00000000025a8800 nid=0x1cd4 runnable                                                                                                                                    
                                                                                                                                                                                                                     
"GC task thread#6 (ParallelGC)" prio=6 tid=0x00000000025a9800 nid=0x2004 runnable                                                                                                                                    
                                                                                                                                                                                                                     
"GC task thread#7 (ParallelGC)" prio=6 tid=0x00000000025ab000 nid=0x15fc runnable                                                                                                                                    
                                                                                                                                                                                                                     
"VM Periodic Task Thread" prio=10 tid=0x000000000a771000 nid=0x844 waiting on condition                                                                                                                              
                                                                                                                                                                                                                     
JNI global references: 251                                                                                                                                                                                           
                                                                                                                                                                                                                     
{quote}

> Soatest node runs out of memory
> -------------------------------
>
>                 Key: JBTM-2277
>                 URL: https://issues.jboss.org/browse/JBTM-2277
>             Project: JBoss Transaction Manager
>          Issue Type: Bug
>          Components: Testing
>            Reporter: Gytis Trikleris
>            Assignee: Tom Jenkinson
>            Priority: Blocker
>             Fix For: 5.0.4
>
>
> http://172.17.131.2/view/Status/job/narayana-AS800/628/
> {code}
> [ERROR] GC overhead limit exceeded -> [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
> {code}



--
This message was sent by Atlassian JIRA
(v6.3.8#6338)


More information about the jbossts-issues mailing list