<h5 dir="auto">Description of the problem</h5>
<p dir="auto"><a class="issue-link js-issue-link" data-error-text="Failed to load title" data-id="267376966" data-permission-text="Title is private" data-url="https://github.com/mrdoob/three.js/issues/12458" data-hovercard-type="pull_request" data-hovercard-url="/mrdoob/three.js/pull/12458/hovercard" href="https://github.com/mrdoob/three.js/pull/12458">#12458</a> "Fix FileLoader duplicate request issues" seems to have introduced a new problem. When the same file is loaded with high frequency and ArrayBuffers are used then this message is likely to appear:</p>
<div class="highlight highlight-text-shell-session notranslate position-relative overflow-auto" dir="auto" data-snippet-clipboard-copy-content="Uncaught DOMException ... ArrayBuffer at index 0 is already neutered."><pre class="notranslate"><span class="pl-c1">Uncaught DOMException ... ArrayBuffer at index 0 is already neutered.</span></pre></div>
<p dir="auto">You can reproduce this easily with example <code class="notranslate">webgl_loader_obj2_run_director</code>. Select a high worker count; minimum 4 better 8 or 12. Watch the log for the appearance of the error. Due to the DOMException the worker feed gets stalled.</p>
<p dir="auto">When I revert to r87 the issue is gone. I have a potential fix, but I am not 100% sure why it works:<br>
<a href="https://github.com/kaisalmen/three.js/blob/FileLoaderRegression/src/loaders/FileLoader.js">https://github.com/kaisalmen/three.js/blob/FileLoaderRegression/src/loaders/FileLoader.js</a></p>
<p dir="auto">I made <code class="notranslate">loading</code> a member of <code class="notranslate">FileLoader</code> and I think due to the now existing dependency memory of the two objects is no longer released independently.  <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/takahirox/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/takahirox">@takahirox</a> do you mind have a look?</p>
<p dir="auto">Kai</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r89</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> r88</li>
</ul>
<h5 dir="auto">Browser</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
</ul>
<h5 dir="auto">OS</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox" checked=""> All of them</li>
</ul>
<h5 dir="auto">Hardware Requirements (graphics card, VR Device, ...)</h5>
<p dir="auto"><code class="notranslate">ConvexGeometry</code> appears to be generating extra internal faces.</p>
<p dir="auto">There are calls to <code class="notranslate">Math.random()</code> in the algorithm, so the output is not deterministic. Several refreshes may be required to see the issue.</p>
<p dir="auto"><a target="_blank" rel="noopener noreferrer nofollow" href="https://cloud.githubusercontent.com/assets/1000017/22177846/9443983c-dff4-11e6-98c0-e17d0300c5ab.png"><img src="https://cloud.githubusercontent.com/assets/1000017/22177846/9443983c-dff4-11e6-98c0-e17d0300c5ab.png" alt="screen shot 2017-01-21 at 4 07 37 pm" style="max-width: 100%;"></a></p>
<p dir="auto">Only tested on macOS.</p>
<h5 dir="auto">Three.js version</h5>
<ul class="contains-task-list">
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> Dev</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> r82 and later</li>
<li class="task-list-item"><input type="checkbox" id="" disabled="" class="task-list-item-checkbox"> ...</li>
</ul>
<p dir="auto">/ping <a class="user-mention notranslate" data-hovercard-type="user" data-hovercard-url="/users/Mugen87/hovercard" data-octo-click="hovercard-link-click" data-octo-dimensions="link_type:self" href="https://github.com/Mugen87">@Mugen87</a> Maybe this problem would interest you? ;-)</p>