| Summary: | Garbage collection is too slow | ||
|---|---|---|---|
| Product: | [RT] RAP | Reporter: | Daria Huber <daria.spam> |
| Component: | RWT | Assignee: | Project Inbox <rap-inbox> |
| Status: | RESOLVED NOT_ECLIPSE | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | ||
| Version: | 1.3 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Solaris | ||
| Whiteboard: | |||
Probably you will not get an answer here as this is a Catalina internal stuff and maybe it's not related to the application at all. You could try to deploy your application in another container like Jetty to see if there is any difference. I will close it as NOT_ECLIPSE. Please reopen if you disagree or you have a concrete observation about memory leak in the RAP framework. |
Build Identifier: Hallo! i use RAP 1.3 Realease Version with this java options: JAVA_OPTS="-server -Xms1024m -Xmx1024m -XX:MaxPermSize=256m -verbose:gc -XX:+PrintTenuringDistribution -XX:+PrintGCDetails -XX:+PrintGCTimeStamps -XX:+PrintHeapAtGC -XX:+PrintGCApplicationConcurrentTime -XX:+PrintGCApplicationStoppedTime" My application is used by ca. 10 users five days per week. After 5-6 weeks the application is so slow that we have to restart tomcat which is running on solaris. If i look into catalina.out i see that GC needs 22 seconds for full garbage collection. I would say it's not ok. Could you explain me this behaviour? Thanks Reproducible: Sometimes Steps to Reproduce: Catalina.out: .... 08.08.2011 17:48:14 {Heap before GC invocations=3598 (full 464): 08.08.2011 17:48:14 PSYoungGen total 332032K, used 311612K [0xe6400000, 0xfbc00000, 0xfbc00000) 08.08.2011 17:48:14 eden space 311616K, 99% used [0xe6400000,0xf944f088,0xf9450000) 08.08.2011 17:48:14 from space 20416K, 0% used [0xfa810000,0xfa810000,0xfbc00000) 08.08.2011 17:48:14 to space 20224K, 0% used [0xf9450000,0xf9450000,0xfa810000) 08.08.2011 17:48:14 PSOldGen total 700416K, used 700416K [0xbb800000, 0xe6400000, 0xe6400000) 08.08.2011 17:48:14 object space 700416K, 100% used [0xbb800000,0xe6400000,0xe6400000) <<<<< 100% 08.08.2011 17:48:14 PSPermGen total 77824K, used 74119K [0xab800000, 0xb0400000, 0xbb800000) 08.08.2011 17:48:14 object space 77824K, 95% used [0xab800000,0xb0061cc0,0xb0400000) 08.08.2011 17:48:22 4602299.117: [Full GC[Unloading class sun.reflect.GeneratedMethodAccessor3712] <<<<< GC 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3708] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3705] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3716] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3710] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3739] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3713] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3780] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3715] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3740] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3706] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3702] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3700] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3734] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3707] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3703] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3736] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3704] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3718] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3709] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3717] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3714] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3781] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3779] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3711] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3733] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3701] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3782] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3737] 08.08.2011 17:48:22 [Unloading class sun.reflect.GeneratedMethodAccessor3735] 08.08.2011 17:48:36 [PSYoungGen: 311612K->76921K(332032K)] [PSOldGen: 700416K->700415K(700416K)] 1012028K->777337K(1032448K) [PSPermGen: 74119K->7402 7K(77824K)], 22.0398910 secs] [Times: user=22.04 sys=0.02, real=22.04 secs] 08.08.2011 17:48:36 Heap after GC invocations=3598 (full 464): 08.08.2011 17:48:36 PSYoungGen total 332032K, used 76921K [0xe6400000, 0xfbc00000, 0xfbc00000) 08.08.2011 17:48:36 eden space 311616K, 24% used [0xe6400000,0xeaf1e610,0xf9450000) 08.08.2011 17:48:36 from space 20416K, 0% used [0xfa810000,0xfa810000,0xfbc00000) 08.08.2011 17:48:36 to space 20224K, 0% used [0xf9450000,0xf9450000,0xfa810000) 08.08.2011 17:48:36 PSOldGen total 700416K, used 700415K [0xbb800000, 0xe6400000, 0xe6400000) 08.08.2011 17:48:36 object space 700416K, 99% used [0xbb800000,0xe63fffe0,0xe6400000) <<<< danach nur 1% gewonnen 08.08.2011 17:48:36 PSPermGen total 77824K, used 74027K [0xab800000, 0xb0400000, 0xbb800000) 08.08.2011 17:48:36 object space 77824K, 95% used [0xab800000,0xb004ac48,0xb0400000) 08.08.2011 17:48:36 } 08.08.2011 17:48:36 Total time for which application threads were stopped: 22.0504131 seconds <<<< app stand 22 sec ...