[ 
http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-132?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivo Ladage - van Doorn updated AMDATUCASSANDRA-132:
---------------------------------------------------

    Attachment: AMDATUCASSANDRA-132.patch

Attached patch that resolves the issue:

- Removed setting the row limit
- Refactored getRowKeys to use a range slice query with returnKeysOnly set to 
true
- Deprecated getRowKeys(String, String, String), as it now does exactly the 
same as getRowKeys(String)
- Removed the InitService which dropped the test keyspace prior to running the 
test, but this could lead to problems
- Refactored the performance test bundle to test all PM methods
- Refactored performance test to not create private CF's anymore, but use one 
global CF instead
                
> Excessive garbage allocation in getSuperRow method
> --------------------------------------------------
>
>                 Key: AMDATUCASSANDRA-132
>                 URL: http://jira.amdatu.org/jira/browse/AMDATUCASSANDRA-132
>             Project: Amdatu Cassandra
>          Issue Type: Improvement
>          Components: Persistence Manager
>    Affects Versions: 0.2.1
>            Reporter: Arthur Meijer
>            Assignee: Ivo Ladage - van Doorn
>         Attachments: AMDATUCASSANDRA-132.patch
>
>
> The getSuperRow methods set the query row count to 1,000,000. Cassandra 
> creates an ArrayList of the same size for handling this number of rows. This 
> leads to at least 4MB of garbage for each invocation.

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

        
_______________________________________________
Amdatu-developers mailing list
[email protected]
http://lists.amdatu.org/mailman/listinfo/amdatu-developers

Reply via email to