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

Pedro Ruivo (JIRA) issues at jboss.org
Tue Jul 22 10:01:31 EDT 2014


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

Pedro Ruivo commented on ISPN-3937:
-----------------------------------

It looks like setting the ```MIN_VALUE``` is not enough (http://dev.mysql.com/doc/connector-j/en/connector-j-reference-implementation-notes.html). However, after reading the docs, the disadvantages are worrying me a little... any other option? 

> 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
>      Security Level: Public(Everyone can see) 
>          Components: Core, Loaders and Stores
>    Affects Versions: 6.0.0.Final
>            Reporter: Dan Berindei
>            Assignee: Pedro Ruivo
>            Priority: Critical
>             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 was sent by Atlassian JIRA
(v6.2.6#6264)


More information about the infinispan-issues mailing list