[infinispan-issues] [JBoss JIRA] (ISPN-3937) Investigate the memory usage of JDBC cache stores when processing a large result set

Sanne Grinovero (JIRA) issues at jboss.org
Mon Jan 27 09:11:28 EST 2014


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

Sanne Grinovero commented on ISPN-3937:
---------------------------------------

Use
{code}ResultSet.setFetchSize(Integer.MIN_VALUE){code} deactivate's MySQL's "smart" behaviour
                
> Investigate the memory usage of JDBC cache stores when processing a large result set
> ------------------------------------------------------------------------------------
>
>                 Key: ISPN-3937
>                 URL: https://issues.jboss.org/browse/ISPN-3937
>             Project: Infinispan
>          Issue Type: Task
>          Components: Core, Loaders and Stores
>    Affects Versions: 6.0.0.Final
>            Reporter: Dan Berindei
>            Assignee: Dan Berindei
>             Fix For: 7.0.0.Final
>
>
> Iterating over a huge ResultSet with MySQL seems to keep all the rows in memory: https://community.jboss.org/message/854402
> We should investigate whether we can limit the memory usage to a fixed amount and whether this affects other drivers as well.

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira


More information about the infinispan-issues mailing list