You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Patrick Twohig (JIRA)" <ji...@apache.org> on 2012/11/13 05:31:13 UTC

[jira] [Comment Edited] (VYSPER-332) Memory Leak in BoshBackedSessionContext

    [ https://issues.apache.org/jira/browse/VYSPER-332?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13495931#comment-13495931 ] 

Patrick Twohig edited comment on VYSPER-332 at 11/13/12 4:29 AM:
-----------------------------------------------------------------

I just was able to get it to happen with the trunk branch.  It's strange that it idnd't happen until I had toggled between connecting the same user in short order.  I connected one user using BOSH, disconnected, and then re-connected the user again using BOSH.  I don't know if it was a "clean" disconnect or not.  I'm wondering if this has something to do with mixing connection types.

Also, I'm no longer running in Jetty 6, I moved it over to Jetty 8.  In this case the BOSH endpoint is running in the same VM as my web service and I have the BOSH endpoint actually configured in my web.xml.  Not sure if this makes a difference.
                
      was (Author: patrickt):
    I just was able to get it to happen with the trunk branch.  It's strange that it idnd't happen until I had toggled between connecting the same user in short order.  I connected one user using BOSH, disconnected, and then re-connected the user again using BOSH.  I don't know if it was a "clean" disconnect or not.  I'm wondering if this has something to do with mixing connection types.
                  
> Memory Leak in BoshBackedSessionContext
> ---------------------------------------
>
>                 Key: VYSPER-332
>                 URL: https://issues.apache.org/jira/browse/VYSPER-332
>             Project: VYSPER
>          Issue Type: Bug
>          Components: BOSH
>    Affects Versions: 0.7
>         Environment:  - Ubuntu 12.04.1 LTS (GNU/Linux 3.2.0-31-virtual x86_64)
>  - OpenJDK 64-Bit Server VM (build 23.2-b09, mixed mode)
>  - Jetty 6.1.24
>            Reporter: Patrick Twohig
>
> I'm seeing the heap size grow disproportionately large when running the BoshServlet in my web application.  Specifically, I am seeing the  consume 300+ megabytes of heap causing an OOME.  The heap dump indicates that roughly 85% of my memory is consumed but the single instanced of .  I can provide a heap dump if needs be.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira