tag:support.nodebox.net,2012-11-01:/discussions/nodebox-2-3/190-pdf-export-problemNodeBox: Discussion 2014-06-30T11:58:15Ztag:support.nodebox.net,2012-11-01:Comment/272151332013-06-09T19:13:18Z2013-06-09T19:13:18Zpdf export problem<div><p>It looks like you're exporting something that's really big. Does
PNG export<br>
work?</p>
<p>F</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/272151332013-06-11T06:17:23Z2013-06-11T06:17:23Zpdf export problem<div><p>Try scaling the whole thing. As Frederik says, usually if the
document is way to big it does not work. If you want to know how
big it is: connect a lookup node to the final output and type
"bounds" as the key.</p></div>lucasnijstag:support.nodebox.net,2012-11-01:Comment/272151332013-06-11T09:16:10Z2013-06-11T09:16:10Zpdf export problem<div><p>Thanks for your replies. I was able to generate and export
composition made<br>
from 1/2 control points (same .csv as input - just cut in
half).<br>
Is there any way to increase the amount of memory jvm uses for
nodebox?</p></div>Bartosz Tomczaktag:support.nodebox.net,2012-11-01:Comment/272151332013-06-11T10:48:29Z2013-06-11T10:48:29Zpdf export problem<div><p>Yes, you can increase the memory for NodeBox.</p>
<ol>
<li>Right-click the NodeBox application icon and choose "Show
Package Contents"<br></li>
<li>Navigate to the Contents folder and open Info.plist in a text
editor (TextMate, Sublime, etc.)<br></li>
<li>
<p>At the bottom, change the VMOptions. Currently they are set
to:</p>
<p>-Xms128m -Xmx512m -XX:MaxPermSize=256m</p>
</li>
</ol>
<ul>
<li>Xms is the initial (startup) memory. Change it to 512m for
example</li>
<li>Xmx is the maximum size of memory. If you have lots of memory,
you can change it to 4096m.</li>
<li>The max perm size is tricky, but no hurt in increasing it.</li>
</ul>
<p>So in the end, for big-memory setups, your line could look like
this:</p>
<pre>
<code> <string>-Xms512m -Xmx4096m -XX:MaxPermSize=2048m</string></code>
</pre>
<p>Now save the Info.plist file and notice the speed
improvements!</p>
<p>In a future version of NodeBox we will probably increase the
initial memory parameters, since we notice more people running into
artificial limits. We have to think about all our users and so
settings that might work for you might not work for everyone, so we
have to be a bit more conservative.</p>
<p>Best,</p>
<p>Frederik</p>
<p>On 11 Jun 2013, at 11:16, Bartosz Tomczak <a href=
"mailto:tender2+d5aedbdf1ca50b469b9d5d9265698d627860bede6@tenderapp.com">
tender2+d5aedbdf1ca50b469b9d5d9265698d627860bede6@tenderapp.com</a>
wrote:</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/272151332013-06-19T11:47:14Z2013-06-19T11:47:14Zpdf export problem<div><p>Thank you, that is exactly the info I was looking for.<br>
The problem now, is that there is no such thing as "Show Package
Contents"<br>
in the right click menu.<br>
I assume "NodeBox application icon" would be nodebox.exe (on win7
machine)?<br>
There are "extract" options ie. I can open the file in 7-zip but it
shows 0<br>
files, 0 dirs...</p>
<p>Best,</p>
<p>Bartek</p></div>Bartosz Tomczaktag:support.nodebox.net,2012-11-01:Comment/272151332013-06-19T12:57:20Z2013-06-19T12:57:20Zpdf export problem<div><p>Hey,</p>
<p>Sorry, those were the instructions for Mac OS X. On Windows, the
VM options are hard-coded in nodebox.exe and cannot be changed. I
could make a new .exe file that would have larger VM limits, but as
mentioned, I'll have to look into the general use case.</p>
<p>Best,</p>
<p>Frederik</p>
<p>On 19 Jun 2013, at 13:47, "Bartosz Tomczak" <a href=
"mailto:tender2+d5aedbdf1ca50b469b9d5d9265698d627860bede6@tenderapp.com">
tender2+d5aedbdf1ca50b469b9d5d9265698d627860bede6@tenderapp.com</a>
wrote:</p></div>Frederik De Blesertag:support.nodebox.net,2012-11-01:Comment/272151332013-06-19T13:20:00Z2013-06-19T13:20:00Zpdf export problem<div><p>Hey,<br>
From what I've seen current memory consumption is rather
conservative. In<br>
my humble opinion doubling current limits should not be a problem
for most<br>
windows users.<br>
Anyway if you could make a custom version it would be greatly
appreciated,<br>
thanks.</p>
<p>Best,</p>
<p>Bartek</p></div>Bartosz Tomczaktag:support.nodebox.net,2012-11-01:Comment/272151332013-11-22T10:50:06Z2014-02-04T09:16:31Zpdf export problem<div><p>Hi there,<br>
I'm looking forward to a version of nodebox with more memory. I
have been using the tool as an experimental source of graphic
essence its great; I'm a very bad programmer but I'm skillful
enought to manage nodebox with some ease.</p>
<p>Anyways the tool gets out of memory easy when you dont care
about rendering times. How we can get more memory?</p>
<p>Thanks and keep the good work on.</p></div>Anonymoustag:support.nodebox.net,2012-11-01:Comment/272151332014-06-30T11:58:14Z2014-06-30T11:58:14Zpdf export problem<div><p>I've added a <a href=
"https://github.com/nodebox/nodebox/issues/383">GitHub Issue</a>
that tracks this.</p></div>Frederik De Bleser