The new NodeBox forum is live! Everything from support.nodebox.net moved here: sign in with the same email to pick up your old posts. Something not working? Write to forum-support@nodebox.net.
here is what nodebox throws at me when I try to export my project to pdf:
java.lang.OutOfMemoryError: Java heap space
at com.itextpdf.text.pdf.ByteBuffer.append_i(ByteBuffer.java:187)
at com.itextpdf.text.pdf.ByteBuffer.append(ByteBuffer.java:278)
at com.itextpdf.text.pdf.ByteBuffer.formatDouble(ByteBuffer.java:496)
at com.itextpdf.text.pdf.ByteBuffer.append(ByteBuffer.java:303)
at com.itextpdf.text.pdf.ByteBuffer.append(ByteBuffer.java:293)
at com.itextpdf.text.pdf.PdfContentByte.curveTo(PdfContentByte.java:735)
at com.itextpdf.awt.PdfGraphics2D.followPath(PdfGraphics2D.java:1497)
at com.itextpdf.awt.PdfGraphics2D.fill(PdfGraphics2D.java:620)
at nodebox.graphics.Path.draw(Path.java:997)
at nodebox.client.visualizer.GrobVisualizer.drawGrobs(Unknown Source)
at nodebox.client.visualizer.GrobVisualizer.draw(Unknown Source)
at nodebox.client.ObjectsRenderer$LinkedVisualizer.draw(Unknown Source)
at nodebox.graphics.PDFRenderer.render(PDFRenderer.java:73)
at nodebox.client.ObjectsRenderer.render(Unknown Source)
at nodebox.client.NodeBoxDocument.exportToFile(Unknown Source)
at nodebox.client.NodeBoxDocument.exportToFile(Unknown Source)
at nodebox.client.NodeBoxDocument.doExport(Unknown Source)
at nodebox.client.NodeBoxMenuBar$ExportAction.actionPerformed(Unknown Source)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
any workarounds?
thanks
FB
FBFrederik De BleserNodeBox team
It looks like you're exporting something that's really big. Does PNG export
work?
F
LU
LUlucasnijs
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.
BA
BAbartosz.tomczak
Thanks for your replies. I was able to generate and export composition made
from 1/2 control points (same .csv as input - just cut in half).
Is there any way to increase the amount of memory jvm uses for nodebox?
FB
FBFrederik De BleserNodeBox team
Yes, you can increase the memory for NodeBox.
Right-click the NodeBox application icon and choose "Show Package Contents"
Navigate to the Contents folder and open Info.plist in a text editor (TextMate, Sublime, etc.)
At the bottom, change the VMOptions. Currently they are set to:
Now save the Info.plist file and notice the speed improvements!
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.
Thank you, that is exactly the info I was looking for.
The problem now, is that there is no such thing as "Show Package Contents"
in the right click menu.
I assume "NodeBox application icon" would be nodebox.exe (on win7 machine)?
There are "extract" options ie. I can open the file in 7-zip but it shows 0
files, 0 dirs...
Best,
Bartek
FB
FBFrederik De BleserNodeBox team
Hey,
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.
Hey,
From what I've seen current memory consumption is rather conservative. In
my humble opinion doubling current limits should not be a problem for most
windows users.
Anyway if you could make a custom version it would be greatly appreciated,
thanks.
Best,
Bartek
AN
ANAnonymous
Hi there,
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.
Anyways the tool gets out of memory easy when you dont care about rendering times. How we can get more memory?