Sunflow exception when running 64-bit JRE7

This topic has been viewed 2880 times and has 1 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
robal
Posts: 10
Joined: Mon Jan 21, 2013 6:06 pm

Sunflow exception when running 64-bit JRE7

Post by robal »

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:

Code: Select all

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.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Sunflow exception when running 64-bit JRE7

Post by Puybaret »

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 creator
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests