Github user AnthonyTruchet commented on the issue:
    @mridulm we don't know how to monitor the size of the serialize task. Sure 
it would not 10MB due to all those zeros. But we nonetheless measure a 
significant increase in performance and (more importantly) in stability when 
using the workaround and our custom TreeAggregatorWithZeroGenerator 
    @srowen when the density of a Sparse Vector increases it became *very* 
inefficient, not only because it is using almost twice the size of memory, but 
mainly because you fragment memory access on overload the GC :( 
    See #16078 for a generic wrapper around treeAggregate with uses Option[U] 
do denote the zero of U by None and generate a full representation by need when 
calling seqOp or comboOp. 

If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at or file a JIRA ticket
with INFRA.

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to