<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[argument too long]]></title><description><![CDATA[<p dir="auto">linux的shell对参数的整体长度有限制 可以使用下面的命令查看大小</p>
<pre><code>getconf ARG_MAX
</code></pre>
<p dir="auto"><a href="http://www.htslib.org/doc/samtools-merge.html" rel="nofollow ugc">http://www.htslib.org/doc/samtools-merge.html</a><br />
samtools在手册中也提到了这个问题<br />
Problems may arise when attempting to merge thousands of files together. The operating system may impose a limit on the maximum number of simultaneously open files. See ulimit -n for more information. Additionally many files being read from simultaneously may cause a certain amount of "disk thrashing". To partially alleviate this the merge command will load 1MB of data at a time from each file, but this in turn adds to the overal merge program memory usage. Please take this into account when setting memory limits.</p>
<p dir="auto">In extreme cases, it may be necessary to reduce the problem to fewer files by successively merging subsets before a second round of merging.</p>
<p dir="auto">建议的方案就是多次合并 每次合并一部分</p>
]]></description><link>http://an.forum.genostack.com/topic/820/argument-too-long</link><generator>RSS for Node</generator><lastBuildDate>Sat, 13 Jun 2026 10:42:59 GMT</lastBuildDate><atom:link href="http://an.forum.genostack.com/topic/820.rss" rel="self" type="application/rss+xml"/><pubDate>Thu, 02 Mar 2023 02:25:31 GMT</pubDate><ttl>60</ttl></channel></rss>