spark-reviews mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From davies <>
Subject [GitHub] spark pull request: [SPARK-14363] Fix executor OOM due to memory l...
Date Tue, 12 Apr 2016 20:25:33 GMT
Github user davies commented on a diff in the pull request:
    --- Diff: core/src/main/java/org/apache/spark/shuffle/sort/
    @@ -254,7 +252,11 @@ public long spill(long size, MemoryConsumer trigger) throws IOException
           spills.size() > 1 ? " times" : " time");
    -    final long spillSize = freeMemory();
    +    long spillSize = freeMemory();
    --- End diff --
    I'm sorry that I misread this last night, this is spillSize (the number of bytes written
into disk), not the amount of freed memory, so we don't need to add the amount from inMemSorter.
    Sorry again.

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:

View raw message