Joined: Jan 21, 2013
Post Count: 10
Status:
Offline
Sunflow exception when running 64-bit JRE7
Hi,
I've noticed that all Sunflow threads fail when trying to render on 64-bit JRE7. SH3D doesn't show any errors (the render process is simply stalled). You need to look at java console to see it.
Exception:
Exception in thread "Thread-24" java.lang.OutOfMemoryError: Java heap space at java.awt.image.DataBufferInt.<init>(Unknown Source) at java.awt.image.Raster.createPackedRaster(Unknown Source) at java.awt.image.DirectColorModel.createCompatibleWritableRaster(Unknown Source) at java.awt.image.BufferedImage.<init>(Unknown Source) at org.sunflow.image.readers.JPGBitmapReader.load(Unknown Source) at org.sunflow.core.Texture.load(Unknown Source) at org.sunflow.core.Texture.getBitmap(Unknown Source) at org.sunflow.core.Texture.getPixel(Unknown Source) at org.sunflow.core.shader.TexturedShinyDiffuseShader.getDiffuse(Unknown Source) at org.sunflow.core.shader.ShinyDiffuseShader.getRadiance(Unknown Source) at org.sunflow.core.shader.TexturedShinyDiffuseShader.getRadiance(Unknown Source) at org.sunflow.core.LightServer.shadeHit(Unknown Source) at org.sunflow.core.LightServer.traceReflection(Unknown Source) at org.sunflow.core.ShadingState.traceReflection(Unknown Source) at org.sunflow.core.shader.ShinyDiffuseShader.getRadiance(Unknown Source) at org.sunflow.core.LightServer.shadeHit(Unknown Source) at org.sunflow.core.LightServer.traceReflection(Unknown Source) at org.sunflow.core.ShadingState.traceReflection(Unknown Source) at org.sunflow.core.shader.MirrorShader.getRadiance(Unknown Source) at org.sunflow.core.LightServer.shadeHit(Unknown Source) at org.sunflow.core.LightServer.traceRefraction(Unknown Source) at org.sunflow.core.ShadingState.traceRefraction(Unknown Source) at org.sunflow.core.shader.GlassShader.getRadiance(Unknown Source) at org.sunflow.core.LightServer.shadeHit(Unknown Source) at org.sunflow.core.LightServer.traceRefraction(Unknown Source) at org.sunflow.core.ShadingState.traceRefraction(Unknown Source) at org.sunflow.core.shader.GlassShader.getRadiance(Unknown Source) at org.sunflow.core.LightServer.shadeHit(Unknown Source) at org.sunflow.core.LightServer.traceReflection(Unknown Source) at org.sunflow.core.ShadingState.traceReflection(Unknown Source) at org.sunflow.core.shader.GlassShader.getRadiance(Unknown Source) at org.sunflow.core.LightServer.shadeHit(Unknown Source)
The same render works fine when run on 32-bit JRE7.
France
Joined: Nov 7, 2005
Post Count: 9180
Status:
Offline
Re: Sunflow exception when running 64-bit JRE7
As a 64-bit program consumes more memory than a 32-bit program, try to increase the maximum amount of memory used by Sweet Home 3D, following the instructions in the FAQ How can I adjust the memory used by Sweet Home 3D?.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer