|
Sweet Home 3D Forum » List all forums » » Forum: 3D problems » » » Thread: App crash when loading big files in Ubuntu 20.10 » » » » Post: App crash when loading big files in Ubuntu 20.10 |
Print at Dec 20, 2025, 5:21:22 AM |
| Posted by Nothor at Dec 19, 2020, 12:23:43 PM |
|
App crash when loading big files in Ubuntu 20.10 Hi you all, I use Sweet home 3D since years ago, always in Ubuntu, but in the last version 20.10 and with Sweet home 6.4.2 (with Java3D 1.5.2) I have noticed a problem loading "big" files, or more than big, with a lot of different objects. Sweet home 3D crashes and resets the whole Gnome Desktop. After investigating a lot I realized, this doesn't happen if I open Sweethome as Root (with sudo). At the end the problem was with the amount of RAM memory available for java in Ubuntu. In order to check the amount of RAM reserved execute java -XshowSettings:vmThe ouput will start with something like this: VM settings:Where the "Heap Size" is the memory. In my system I have 8GB of RAM so I have increased to 4GB in order to be sure it will not crash at start. In order to do that, simply add this env variable "_JAVA_OPTIONS" with the amount of RAM available, before execute Sweethome _JAVA_OPTIONS=-Xmx4096m ./SweetHome3D-Java3D-1_5_2And that's it. I hope it helps other like me ![]() |
|
|
Current timezone is GMT Dec 20, 2025, 5:21:22 AM |