You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Martin Grigorov (JIRA)" <ji...@apache.org> on 2011/09/20 09:32:09 UTC

[jira] [Resolved] (WICKET-4063) Theading issue in AsynchronousDataStore causes OutOfMemory exception

     [ https://issues.apache.org/jira/browse/WICKET-4063?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Martin Grigorov resolved WICKET-4063.
-------------------------------------

       Resolution: Fixed
    Fix Version/s: 1.5.1

Fixed.
Thanks!

> Theading issue in AsynchronousDataStore causes OutOfMemory exception
> --------------------------------------------------------------------
>
>                 Key: WICKET-4063
>                 URL: https://issues.apache.org/jira/browse/WICKET-4063
>             Project: Wicket
>          Issue Type: Bug
>          Components: wicket
>    Affects Versions: 1.5.0
>            Reporter: Robin Shine
>            Assignee: Martin Grigorov
>            Priority: Critical
>             Fix For: 1.5.1
>
>
> Considering below time sequence:
> 1. "entries.offer" is called during "storeData". 
> 2. page saving thread comes in, and poll the entry. Then "entryMap.remove" is called. Nothing will be removed since entry has not been added to entryMap yet. 
> 3. "entryMap.put" is called during "storeData". 
> The result is that entries in "entryMap" may never be removed, and the entryMap can increase infinitely. 

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira