[ 
https://issues.apache.org/jira/browse/CASSANDRA-1867?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12972723#action_12972723
 ] 

Ilya Maykov commented on CASSANDRA-1867:
----------------------------------------

No problem, I'll see if there is a similar problem in the json2sstable path 
this weekend.

Oh, and it's "Maykov", not "Mykov" :)

> 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
>            Reporter: Ilya Maykov
>            Assignee: Ilya Maykov
>            Priority: Minor
>             Fix For: 0.6.9, 0.7.0
>
>         Attachments: cassandra-1867-2.txt
>
>   Original Estimate: 1h
>  Remaining Estimate: 1h
>
> 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.

Reply via email to