Print at Dec 17, 2025, 7:51:57 PM

Posted by okh at Aug 21, 2015, 12:37:04 PM
Re: Slow respons in Sweethome 5.0 - how to increase RAM use in Windows 10?
From your email, I understand that you fixed your available RAM. But your 80 MB file (27 MB compressed) is still very big. Much bigger than what should be necessary for any normal construction. The walls, floors and basic construction elements in SH3D are very compact and do not take up much space. Often such a size (and slow SH3D operation) is caused by only one or a few models/textures.

First go looking for trees, cars or models with very many (intricate) surfaces and/or elaborate textures and remove them (copy to another file if you want them for later). Removing (replacing) the large objects in the SH3D plan will usually result in a significantly smaller sh3d file and should improve performance.

If the SH3D file is still too big (SH3D slow), and you cannot figure out why, you could try to explore the anatomy of the SH3D file itself. The process requires some familiarity with computers and file systems. Point is to try to identify large objects//textures by peeking inside the file itself. The procedure is a bit cumbersome, but does not take long.

As a SH3D file, when compressed, is a zipped file, you could for instance do the following to find the biggest object. Make sure you work on a COPY!.
- Use File-Save as to save a copy of your SH3D project under a different filename (xxx.sh3d).
- Use File-Save and compress this file.
- In your OS, rename the file xxx.sh3d to xxx.zip (you may need to do this in file properties if your OS hides file extensions).
- Extract the file (in Win, Right click and use Extract all) to create a new folder xxx which contains everything in the sh3d file.
- Open this folder.
- Search for *.* to list all files in the folder and subdirectories.
- Sort the list by size.
- NOTE, do not modify/edit anything in this file/directory, because it is unlikely you will be able to put an edited file back in working order. The copy is just to help you identify items and edit your SH3D plan and should be deleted. In theory, you ccould replace/edit object/texture files and put the whole thing back together again, but that is a process full of pitfalls.

Now you should see a list of the biggest files included in your SH3D home. Many of the files will have normal file extensions and their import name (like bike.obj) which should give you an idea which large objects in your SH3D plan causes the trouble. But it could also be graphic files (like bike.png) that are contained within an object (graphics related to a model can be found in the directory which contains the model).

Go back to SH3D and remove the items which contain the very large objects (or have very large texture files applied). This usually does the trick.

Now, you will also see a lot of files without extensions (file type) in the search list. Files Home and ContentDigest contain core information about your construction. The files 1,2,3,etc (numbers) as names are mostly graphic files (png, gif, jpg). Either plan icons (small ones), textures (could be large) or background images. To view them, you should be able to drag-and-drop these type-less files in a browser window to see what they are (does NOT work with Edge in Win 10, use Internet Explorer or Opera or something). Large files may be textures that take up a lot of space in your file. Go back to SH3D and try to find out where this texture is used and remove or replace with a smaller one (256×256 is usually plenty for normal surfaces).

The numbered files can also be 3d objects used in the construction, in which case you will often see text or just a mess in your browser if displayed at all. To see what they are, open a new file in SH3D and use Furniture-Import Furniture-Choose model and see whether a model comes up (sorry, drag-and-drop does not work here either).

The above description is superficial, and there are other ways of going about this, but if all else fails, it may be worth trying to find very large objects/textures.

ok