Print at Dec 29, 2025, 1:55:23 AM

Posted by MelbaToast at Sep 18, 2013, 6:59:30 AM
Adjusting Memory Use
Hello-

I was trying to render a shot and I keep getting the red X and no image. So, I came here and the FAQ's said I need to adjust my memory use.I'm running the current version of the program and Java and have been using it for some time with no problems.

Under Windows, create a text file named SweetHome3D.l4j.ini in the same folder as SweetHome3D.exe, write the max memory Java option in that file, for example -Xmx1024m for 1 GB, then relaunch Sweet Home 3D. For 2 GB and more, install a 64 bits version of Java on your system, download the Jar executable version of Sweet Home 3D and execute the java -Xmx4096m -jar path\to\SweetHome3D-4.1.jar command for 4 GB.


I did this first part and then realized that the memory use is already maxed out for the installer version (which I have). I increased the memory to 2040, since I figured that was under 2 GB. Same problem.

Under Windows, create a text file named SweetHome3D.l4j.ini in the same folder as SweetHome3D.exe, write the max memory Java option in that file, for example -Xmx1024m for 1 GB, then relaunch Sweet Home 3D. For 2 GB and more, install a 64 bits version of Java on your system, download the Jar executable version of Sweet Home 3D and execute the java -Xmx4096m -jar path\to\SweetHome3D-4.1.jar command for 4 GB.


So I tried this second part. But I have problems. Is [java -Xmx4096m -jar path\to\SweetHome3D-4.1.jar] like the txt file I created earlier? Put all of that in a text and save as the [SweetHome3D.l4j.ini]

I downloaded the Jar executable version of SweetHome3D but it crashes every time I try to open it. I installed a 64 bits version of java as well.

I don't understand the red x and I don't understand what to do with that second part of the FAQ. I'm not tech savvy so if someone can dumb it down that would be great. I'm willing to increase the memory size up to 10 GB just to be sure this isn't a problem anymore.

I have a huge project waiting to be rendered.

Thanks in advance.