Netherlands
Joined: Apr 8, 2022
Post Count: 1357
Status:
Offline
Re: Increase memory
Thank you Emmanuel, it's more clear now. I tried the 'switch' you mentioned before to see if it worked but I didn't close and reopen the plan so I saw no difference. Now with reopening it helps a little although it's tedious to have to close and reopen the plan multiple times.
Even though I'm a professional developer I'm not familiar with the Java runtime, hence my question about the usefulness of a bigger/faster graphics card. I'm waiting for prices to lower a bit so I have time to do my research concerning Java and graphics cards.
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Increase memory
Please read the FAQHow can I adjust the memory used by Sweet Home 3D?
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator
Joined: Jun 1, 2019
Post Count: 36
Status:
Offline
Re: Increase memory
Hi Emanuel - I know this has been a pain for you on several occasions, but it's really tricky to increase the memory by this method. I'm just wondering whether it can be included somehow in the settings? Obviously it would require a restart, but far easier than editing this file every time there's a new version.
Belgique
Joined: Aug 17, 2023
Post Count: 83
Status:
Offline
Re: Increase memory
I would like to know where is SweetHome3D script located on Linux ?
Now about Mac permissions it is easy to change permissions of a file on a Mac. Click on a file then type [Command]+[I] and it is at bottom of informations window. [command] key is/was the one with an apple on it.
Netherlands
Joined: Apr 8, 2022
Post Count: 1357
Status:
Offline
Re: Increase memory
I would like to know where is SweetHome3D script located on Linux ?
It depends on where you installed your Sweet Home 3D. On my Debian install I created a directory SH3D with subdirectories for different versions of Sweet Home 3D. Currently "SweetHome3D-7.0.2", "SweetHome3D-7.1", and "SweetHome3D-7.2.beta7". In those directories I extracted the .tgz compressed download for each version. After extraction each install directory has two startup scripts: "SweetHome3D" (no extension) and "SweetHome3D-Java3D-1_5_2" (no extension). If you get black panes after startup use the 1_5_2 script instead of the default SweetHome3D script. Those are the scripts where you can set the memory limit. Before the memory string " -Xmx..." I also add " -Duser.name=Keet ". This ensures that in the sh3d files the username Keet is used and not the Linux username. You don't want your real username exposed if you make an .sh3d file available for download. The multiple installs make it possible to use different versions, like evaluation the latest beta. If you already have a launcher you can look at it's properties for the path it refers to. That's also the place to change the path if you upgrade to a newer version.
If you used the installer from the repository of your distribution it depends on the distribution where it is. It should have created a launcher so you can check the properties of the launcher for the path. The repository most likely has an outdated version of Sweet Home 3D so the best way is to just download the latest version .tgz file and extract it where you want or replace the old install with a newer version.
---------------------------------------- Dodecagon.nl 1000+ 3D models, manuals, and projects
Joined: Jun 1, 2019
Post Count: 36
Status:
Offline
Re: Increase memory
I'm using the Apple Store version. I know how to do it - ie which file to edit, and that's fine because I can take a copy of the .cfg file, edit it elsewhere and copy/replace it back. It's just a bit of a pain. This isn't a vital request, just a 'would be nice'
France
Joined: Nov 7, 2005
Post Count: 9423
Status:
Offline
Re: Increase memory
JonnyD, as you noticed you need some special rights to edit SweetHome3D.cfg and Sweet Home 3D application doesn't have these rights
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D creator