cassandra-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ilya Maykov (JIRA)" <j...@apache.org>
Subject [jira] Created: (CASSANDRA-1867) sstable2json runs out of memory when trying to export huge rows
Date Thu, 16 Dec 2010 03:07:04 GMT
sstable2json runs out of memory when trying to export huge rows
---------------------------------------------------------------

                 Key: CASSANDRA-1867
                 URL: https://issues.apache.org/jira/browse/CASSANDRA-1867
             Project: Cassandra
          Issue Type: Improvement
          Components: Tools
    Affects Versions: 0.6.8
            Reporter: Ilya Maykov
            Priority: Minor


Currently, sstable2json can run out of memory if it encounters a huge row. The problem is
that it creates an in-memory String for each row. Proposed solution is to pass the output
PrintStream to the serializeRow() and serializeColumns() methods and write to the stream incrementally.

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


Mime
View raw message