Increase memory

This topic has been viewed 56125 times and has 39 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Increase memory

Post by Keet »

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
1300+ 3D models, manuals, and projects
JonnyD
Posts: 36
Joined: Sat Jun 01, 2019 2:58 pm

Re: Increase memory

Post by JonnyD »

HI - I've just gone to increase the memory (Mac OS) and the entry doesn't appear in the info.plist file at all.

Has it changed since this post was made?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Increase memory

Post by Puybaret »

Please read the FAQ How can I adjust the memory used by Sweet Home 3D?
Emmanuel Puybaret, Sweet Home 3D creator
JonnyD
Posts: 36
Joined: Sat Jun 01, 2019 2:58 pm

Re: Increase memory

Post by JonnyD »

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.
JonnyD
Posts: 36
Joined: Sat Jun 01, 2019 2:58 pm

Re: Increase memory

Post by JonnyD »

I forgot to say, I always get the error telling me I don't have permission to edit this file when I try.
User avatar
LaVache
Posts: 83
Joined: Thu Aug 17, 2023 7:33 am
Country: Belgique

Re: Increase memory

Post by LaVache »

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]+ and it is at bottom of informations window. [command] key is/was the one with an apple on it.
User avatar
Keet
Posts: 1807
Joined: Fri Apr 08, 2022 7:13 am
Country: Netherlands

Re: Increase memory

Post by Keet »

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
1300+ 3D models, manuals, and projects
JonnyD
Posts: 36
Joined: Sat Jun 01, 2019 2:58 pm

Re: Increase memory

Post by JonnyD »

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'
User avatar
LaVache
Posts: 83
Joined: Thu Aug 17, 2023 7:33 am
Country: Belgique

Re: Increase memory

Post by LaVache »

Thanks Keet I found it. It's still in my Downloads folder.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Increase memory

Post by Puybaret »

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

Who is online

Users browsing this forum: No registered users and 2 guests