You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mina.apache.org by "Trustin Lee (JIRA)" <ji...@apache.org> on 2007/07/05 07:07:04 UTC
[jira] Created: (DIRMINA-392) Change the default Map implementation
of session attributes to synchronized HashMap for less memory consumption
Change the default Map implementation of session attributes to synchronized HashMap for less memory consumption
---------------------------------------------------------------------------------------------------------------
Key: DIRMINA-392
URL: https://issues.apache.org/jira/browse/DIRMINA-392
Project: MINA
Issue Type: Improvement
Components: Core
Affects Versions: 1.1.0
Reporter: Trustin Lee
Priority: Minor
Fix For: 1.1.1
In MINA 1.1.0, we used ConcurrentHashMap to store session attributes. ConcurrentHashMap is known to consume much more memory than HashMap, so users who have upgraded from 1.0.x are suffering from OOM. Let's revert back to synchronized HashMap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.
[jira] Closed: (DIRMINA-392) Change the default Map implementation
of session attributes to synchronized HashMap for less memory consumption
Posted by "Trustin Lee (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/DIRMINA-392?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Trustin Lee closed DIRMINA-392.
-------------------------------
Resolution: Fixed
Assignee: Trustin Lee
Done.
> Change the default Map implementation of session attributes to synchronized HashMap for less memory consumption
> ---------------------------------------------------------------------------------------------------------------
>
> Key: DIRMINA-392
> URL: https://issues.apache.org/jira/browse/DIRMINA-392
> Project: MINA
> Issue Type: Improvement
> Components: Core
> Affects Versions: 1.1.0
> Reporter: Trustin Lee
> Assignee: Trustin Lee
> Priority: Minor
> Fix For: 1.1.1
>
>
> In MINA 1.1.0, we used ConcurrentHashMap to store session attributes. ConcurrentHashMap is known to consume much more memory than HashMap, so users who have upgraded from 1.0.x are suffering from OOM. Let's revert back to synchronized HashMap.
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.