List Info

Thread: DO NOT REPLY New: - Memory leak




DO NOT REPLY New: - Memory leak
country flaguser name
United States
2007-08-29 11:05:11
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240

           Summary: Memory leak
           Product: Lenya
           Version: Trunk
          Platform: Other
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Miscellaneous
        AssignedTo: devlenya.apache.org
        ReportedBy: andreasapache.org


It is very likely that we have a memory leak in the trunk.

Load test:
- Tomcat: Xms64m, Xmx512m
- 10 threads
- each creating 50 documents

The heap usage is continuously increasing. After approx. 800
requests, 400 MB of
heap are allocated. The garbage collector can't push it
below 300 MB anymore. A
first glance at the heap snapshot indicates a very large
number of
TraxTransformer instances.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 11:05:56
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240


andreasapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
           Severity|normal                      |blocker
   Target Milestone|2.0.1                       |2.0




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 11:06:23
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240


andreasapache.org changed:

           What    |Removed                     |Added
------------------------------------------------------------
----------------
OtherBugsDependingO|                            |43160
              nThis|                            |




-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 11:43:39
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 09:43 -------
When Tomcat doesn't receive any requests for some time (I
guess because JMeter
is swapped to the disk due to RAM shortage), the heap usage
decreases to 254 MB.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 11:44:37
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 09:44 -------
After the 1020 requests are completed, the heap usage stays
at approx. 300 MB.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 11:47:27
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 09:47 -------
After a forced garbage collection it's at 200 MB.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 12:04:00
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 10:03 -------
Phew ... the snapshot (after completion) indicates *lots* of
Lenya objects.
There's definitely something wrong.

SessiomImpl:     402 objects (72 MB retained size)
SiteTreeImpl:    325 objects (75 MB retained size)
SiteTreeLink: 84'993 objects
DocumentImpl: 76'578 objects


-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 12:09:00
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 10:08 -------
There are 152 continuation objects, retained size 32 MB.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 12:12:19
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 10:12 -------
The session is attached to SourceWrapper.lockedUris:

org.apache.lenya.cms.repository.SessionImpl
session of  org.apache.lenya.cms.repository.SourceNode
node of 
org.apache.lenya.cms.repository.ContentSourceWrapper
value of  java.util.WeakHashMap$Entry
[37] of  java.util.WeakHashMap$Entry[1025]
table of  java.util.WeakHashMap
lockedUris of 
org.apache.lenya.cms.repository.SourceWrapper
[2584] of  java.lang.Object[5121]
elementData of  java.util.Vector
classes of  org.apache.catalina.loader.WebappClassLoader
contextClassLoader of  java.lang.Thread [Stack Local,
Thread]

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


DO NOT REPLY - Memory leak
country flaguser name
United States
2007-08-29 15:24:43
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=43
240>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=43240





------- Additional Comments From andreasapache.org  2007-08-29 13:24 -------
(In reply to comment #6)
> The session is attached to SourceWrapper.lockedUris:

This is fixed in revision 570920, but I guess there's more.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=ema
il
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the
assignee.

------------------------------------------------------------
---------
To unsubscribe, e-mail: dev-unsubscribelenya.apache.org
For additional commands, e-mail: dev-helplenya.apache.org


[1-10] [11-20] [21-24]

about | contact  Other archives ( Real Estate discussion Medical topics )