tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/6174-cpuNodeBox: Discussion 2019-12-07T09:56:54Ztag:support.nodebox.net,2012-11-01:Comment/479045522019-12-07T09:56:16Z2019-12-07T09:56:54ZCPU?<div><p>NodeBox can be slow sometimes, even on a fast CPU. It can handle thousands of elements, but with hundreds of thousands of elements it will bog down.</p>
<p>Sometimes, though, a simple mistake can create lists with a million elements without you realizing it. Each element might be drawn on top of itself a thousand times. To guard against this I routinely switch to data mode and scroll down to see how many elements are in my lists.</p>
<p>Nodebox does use memory, and allocating more memory can sometimes help. Here is an old thread that describes how to do this on a Mac. It still works on current Macs:</p>
<p><a href="http://support.nodebox.net/discussions/support/310-out-of-memory-are-you-trying-to-process-and-infinite-list-with-a-csv-file">http://support.nodebox.net/discussions/support/310-out-of-memory-ar...</a></p>
<p>It also sometimes helps to save your code, quit, and restart.</p>
<p>If you get desperate, send my your code and I'll check it for inefficiencies. Good luck!</p>
<p>John</p></div>john