[richfaces-issues] [JBoss JIRA] (RF-13250) Extreme memory usage in RF4.3.4.Final and not in RF4.3.3.Final

Marcel Šebek (JIRA) issues at jboss.org
Wed Feb 12 09:13:28 EST 2014


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

Marcel Šebek commented on RF-13250:
-----------------------------------

Hello.

I can see the same behavior with RF 4.3.5 after upgrading from 4.3.3. Some client still runs the old version of atmosphere and generates a lot of requests of the form

/__richfaces_push?__richfacesPushAsync=1&pushSessionId=650b92c8-db1c-4e97-81e2-80cf684bbe68&X-Atmosphere-tracking-id=de550cf9-c1eb-4f26-9bd3-ae94187e4711&X-Atmosphere-Framework=1.0.10&X-Atmosphere-Transport=long-polling&X-Cache-Date=0&_=1392213448240

Each such request leads to "Committed error code 400" in server log. I also see a big number of AtomicBoolean classes in heap dump. Currently I cannot say that the number of the instances increase only when these old-version requests are comming, but it looks so.
                
> Extreme memory usage in RF4.3.4.Final and not in RF4.3.3.Final
> --------------------------------------------------------------
>
>                 Key: RF-13250
>                 URL: https://issues.jboss.org/browse/RF-13250
>             Project: RichFaces
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>    Affects Versions: 4.3.4
>         Environment: Gentoo Linux, Tomcat 7.0.39, MyFaces 2.1.12, Tomahawk 1.1.14, RichFaces 4.3.4, APR 1.4.5
>            Reporter: Milo van der Zee
>            Assignee: Pavol Pitonak
>              Labels: memoryleak
>
> Hello,
> I did an upgrade from RF 4.3.3.Final to 4.3.4.Final and the application started to crash with 'Out Off Memory' errors. I changed the POM back to 4.3.3.Final and the problem is gone.
> I also started seeing this message lot's of times:
> {{WARN  org.atmosphere.cpr.AtmosphereResponse - Committed error code 400}}
> I don't know if that has anything to do with the error. I set {{org.atmosphere.cpr.sessionSupport}} to {{true}} and I did not see the message again. But still the application went out-of-memory.
> In the crashed system heap dump I see a lot of:
> - AtomicBoolean (751.000, 15.0MB)
> - ConcurrentLinkedQueue
> - AtmospereRequest$Builder (60.042, 13.8MB)
> To me it looks like it has something to do with Atmosphere. Any ideas?
> Thanks,
> Milo van der Zee

--
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



More information about the richfaces-issues mailing list