[hibernate-issues] [Hibernate-JIRA] Commented: (HSEARCH-310) Out of Memory on ScrollableResults

Emmanuel Bernard (JIRA) noreply at atlassian.com
Mon Jan 12 18:05:39 EST 2009


    [ http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-310?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=32103#action_32103 ] 

Emmanuel Bernard commented on HSEARCH-310:
------------------------------------------

hummmmmmmmmmmmmmm, indeed quite tricky. We could do more harm that good here by evicting wo the application's consent.



> Out of Memory on ScrollableResults
> ----------------------------------
>
>                 Key: HSEARCH-310
>                 URL: http://opensource.atlassian.com/projects/hibernate/browse/HSEARCH-310
>             Project: Hibernate Search
>          Issue Type: Bug
>          Components: query
>    Affects Versions: 3.0.1.GA
>         Environment: Java SE, 3.0.1.GA
>            Reporter: Sanne Grinovero
>            Assignee: Sanne Grinovero
>             Fix For: 3.1.1
>
>
> http://forum.hibernate.org/viewtopic.php?p=2400452
> I think this is more appropriate for 3.1.1
> Emmanuel said:
> "The implementation suffers several flows:
>  - we do create an EntityInfo[] as big as the number of hits
>  - we lazily load this array but we never release "old content"
>  - we lazily load the content (ie objects) by window but we never release it
> Some Soft reference based cache can help."

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://opensource.atlassian.com/projects/hibernate/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the hibernate-issues mailing list