sad Ram allocation for SH3D

This topic has been viewed 4149 times and has 6 replies
Thread status: Active
How can I do this? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
Post Reply New Topic
User avatar
Cannoloz
Posts: 12
Joined: Thu Dec 26, 2019 1:27 pm
Country: Italia

Ram allocation for SH3D

Post by Cannoloz »

Hi,
I'm creating 2 different projects on 2 different computers.
One of the computers is a bit old, the other is almost new, both are desktop.

In the old computer (with Windows10 home 64 bit) it seems that I can't set more than -Xmx1000m in the file sweethome3d.i4j because if I give any value over 1000 the program can't start any project.
This computer has 16Gb RAM.

In the new computer (with Windows 10 pro 64 bit), setting -Xmx8000m any project can start whithout any problem but the memory given for the program is no more than 5,5Gb RAM. The rest is simply not allocated.
This computer has 16Gb RAM too.

Can someone tell me why is this happening?
I think that if the old one can allocate at least 4Gb RAM on the project it could be faster and not so slow as it is actually.
Am I wrong?
Grazie.
User avatar
UbuntuBirdy
Posts: 421
Joined: Thu Aug 31, 2017 10:31 pm
Country: Switzerland
Contact:

Re: Ram allocation for SH3D

Post by UbuntuBirdy »

No idea if that has any influence, but try to set the values in GB not in MB: -Xmx8g.
Pascal

SH3D 6.6 / Ubuntu 22.04 (Mainline-Kernel) / Radeon RX580 / Ryzen 7 5800x
User avatar
Cannoloz
Posts: 12
Joined: Thu Dec 26, 2019 1:27 pm
Country: Italia

Re: Ram allocation for SH3D

Post by Cannoloz »

Isn't it the same?
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Ram allocation for SH3D

Post by Puybaret »

I would suspect that you installed Sweet Home 3D 32 bit (the default architecture under Windows 10 64 bit). Check the About dialog box and if it’s the case, run again the installer, selecting the 64 bit architecture in the screen that lets you choose the installation folder.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Cannoloz
Posts: 12
Joined: Thu Dec 26, 2019 1:27 pm
Country: Italia

Re: Ram allocation for SH3D

Post by Cannoloz »

...and the winner is...you [:x]
The looser is...me, obviously [:(]

You were right, the version in the old computer is 32bit, thst's the motiv of the problem.

So, now I ask something more: if I uninstall SH3D from an hard disk and install it in another one, do I loose al libraries and stuffs that I downloaded before? Ho can I recover all of them?

And how can I quote a message here in the forum? [:-?]
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: Ram allocation for SH3D

Post by Puybaret »

Uninstalling Sweet Home 3D won't discard the furniture and textures you imported on a computer, but the imported stuff won't move to the other computer without your help!
See this post for more information about the folder to copy.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Cannoloz
Posts: 12
Joined: Thu Dec 26, 2019 1:27 pm
Country: Italia

Re: Ram allocation for SH3D

Post by Cannoloz »

Tnx a lot, excellent suggestion [:)]
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 2 guests