diff --git a/lib/file-handling/file-demuxer.js b/lib/file-handling/file-demuxer.js index 9353dd6a..6b192fc1 100644 --- a/lib/file-handling/file-demuxer.js +++ b/lib/file-handling/file-demuxer.js @@ -169,6 +169,9 @@ FileDemuxer.getOptimalShardSize = function(fileInfo, acc) { hops = hops - 1 <= 0 ? 0 : hops - 1; } + console.log('shard size is '+shardSize(hops)); + console.log('free mem is '+os.freemem()); + return shardSize(hops); }