summaryrefslogtreecommitdiff
path: root/doc/manual-src/en
diff options
context:
space:
mode:
authorTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-01-28 23:43:29 +0900
committerTatsuhiro Tsujikawa <tatsuhiro.t@gmail.com>2016-01-29 00:14:30 +0900
commit8f51793b19c751bde0e41448aaeb9eb54d2fdbb1 (patch)
treea4c085d881b499b87fba5932e80059b854229b09 /doc/manual-src/en
parentfc95a91eb617beb9130a6b1c7ed7c14a61189f8e (diff)
Add --max-mmap-limit option
Set the maximum file size to enable mmap (see --enable-mmap option). The file size is determined by the sum of all files contained in one download. For example, if a download contains 5 files, then file size is the total size of those files. If file size is strictly greater than the size specified in this option, mmap will be disabled.
Diffstat (limited to 'doc/manual-src/en')
-rw-r--r--doc/manual-src/en/aria2c.rst11
1 files changed, 11 insertions, 0 deletions
diff --git a/doc/manual-src/en/aria2c.rst b/doc/manual-src/en/aria2c.rst
index d3cc295b..0e9705c5 100644
--- a/doc/manual-src/en/aria2c.rst
+++ b/doc/manual-src/en/aria2c.rst
@@ -1375,6 +1375,16 @@ Advanced Options
downloads. Specifying 0 means no download result is kept. Default:
``1000``
+.. option:: --max-mmap-limit=<SIZE>
+
+ Set the maximum file size to enable mmap (see
+ :option:`--enable-mmap` option). The file size is determined by the
+ sum of all files contained in one download. For example, if a
+ download contains 5 files, then file size is the total size of those
+ files. If file size is strictly greater than the size specified in
+ this option, mmap will be disabled.
+ Default: ``9223372036854775807``
+
.. option:: --max-resume-failure-tries=<N>
When used with :option:`--always-resume=false, <--always-resume>` aria2 downloads file from
@@ -2040,6 +2050,7 @@ of URIs. These optional lines must start with white space(s).
* :option:`max-connection-per-server <-x>`
* :option:`max-download-limit <--max-download-limit>`
* :option:`max-file-not-found <--max-file-not-found>`
+ * :option:`max-mmap-limit <--max-mmap-limit>`
* :option:`max-resume-failure-tries <--max-resume-failure-tries>`
* :option:`max-tries <-m>`
* :option:`max-upload-limit <-u>`