Print at Dec 18, 2025, 6:13:55 AM

Posted by Puybaret at Oct 23, 2018, 11:52:28 AM
Re: SweetHome3D-6.0.beta12-windows.exe
it's mentionned "could use 96 MB of memory at maximum, which is too small to create middle sized homes."
It depends on Java versions. With Java 8, the default max memory is a quarter of the available memory.

Why is than working with SH3d 5.4 ? Aka what change did you brough which causes to break executing SH3d?
This issue actually appeared each time I upgraded the Java version bundled with Sweet Home 3D from version 8u51 to a more recent version, the first time with Sweet Home 3D 5.1, then with Sweet Home 3D 5.5, because meanwhile, I downgraded Java 8u74 to 8u51 in version Sweet Home 3D 5.3.
I could have also continued to bundle Java 8u51 with Sweet Home 3D installer for a longer time, but users wouldn't benefit of recent bug fixes and improvements in Java (like the ability to horizontally scroll in the plan with mouse wheel when Shift key is pressed).
As users reported that the issue didn't happen with Java 8u60+ 32 bit, I preferred to use recent Java 8 updates and add some command line options in the installer of Sweet Home 3D 5.5 to force the installation of Sweet Home 3D 32 bit under Windows 64 bit when necessary. Finally, in Sweet Home 3D 6.0, I made this switch easier to handle with the new 32 bit / 64 bit options added in the user interface of the installer.

From discussions with other programmers, Java 8u51 wasn't declared as Windows 10 compatible, whereas it was the case for Java 8u60.
Some people suggested to remove the "Windows 10 compatible" flag from recent Java versions to make it work again, but it doesn't seem to work all the time, and I'm not even sure it's really legal to modify Java this way. Therefore, I chose to check the 32 bit option by default when the installer is run under Windows 10 64 bit.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator