[infinispan-issues] [JBoss JIRA] (ISPN-4538) JPACacheStore#process is not clearing the PersistenceContext regularly

Radim Vansa (JIRA) issues at jboss.org
Thu Jul 17 12:56:29 EDT 2014


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

Radim Vansa commented on ISPN-4538:
-----------------------------------

Do I need to clear the entity manager if I only scroll through projection of IDs? (It does not make sense to me to keep the IDs without respective entities in EM). The entries themselves are loaded is separate EM, which is closed for each entry.

> JPACacheStore#process is not clearing the PersistenceContext regularly
> ----------------------------------------------------------------------
>
>                 Key: ISPN-4538
>                 URL: https://issues.jboss.org/browse/ISPN-4538
>             Project: Infinispan
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Loaders and Stores
>            Reporter: Sanne Grinovero
>            Assignee: Radim Vansa
>
> This is going to cause OOM when the key is not a primitive but for example and embeddable component and the primary EntityManager decides to manage it.



--
This message was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list