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

Arseni Bulatski updated CAY-2513:
---------------------------------
    Description: 
Using shared cache and creating many contexts causes this problem.

Each change sends snapshot event to all contexts what causes growth of 
InvocationDispatch because all contexts are listeners to other contexts.

The solution is to set SERVER_CONTEXTS_SYNC_PROPERTY to false.

  was:
Using shared cache and creating many contexts causes this problem.

Each change sends snapshot event to all contexts what causes growth of 
InvocationDispatch because all contexts are listeners to another contexts.

The solution is to set SERVER_CONTEXTS_SYNC_PROPERTY to false.


> Memory leak because of many instances of InvocationDispatch
> -----------------------------------------------------------
>
>                 Key: CAY-2513
>                 URL: https://issues.apache.org/jira/browse/CAY-2513
>             Project: Cayenne
>          Issue Type: Bug
>          Components: Core Library
>    Affects Versions: 4.1.M3, 4.2.M1
>            Reporter: Arseni Bulatski
>            Priority: Major
>             Fix For: 4.1.M3, 4.2.M1
>
>
> Using shared cache and creating many contexts causes this problem.
> Each change sends snapshot event to all contexts what causes growth of 
> InvocationDispatch because all contexts are listeners to other contexts.
> The solution is to set SERVER_CONTEXTS_SYNC_PROPERTY to false.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to