Print at Apr 24, 2018 5:15:38 PM View all posts in this thread on one page
Posted by semental at Feb 7, 2015 4:56:59 AM
LINUX - sweethome3d extremely slow and hangs
Hello everyone:

First of all sorry for my spelling, I'm from Argentina and my English is not the best:

Let me tell you my problem

I have sweethome 3D 4.6 installed on a pc:

- Intel Core i5 2300 2.8ghz
- 4gb ram
- AMD Radeon R7 250x (2gb ddr)

- Linux mint 17.1
- Oracle java 8

The "java -version" command on a terminal shows me this:

java version "1.8.0_31"
Java (TM) SE Runtime Environment (build 1.8.0_31-b13)
Java HotSpot (TM) 64-Bit Server VM (build 25.31-b07, mixed mode)

My problem is this, I think I have a pc that can easily display 3D graphics reasonably well, in fact I can play most of the actual games in windows, and also emulate those in linux using wine.

The issue is that sweethome3d eats all memory and cpu inexplicably.

When I open the program the behavior is reasonably normal for a while (although is already slow)

But over the time the program gradually becomes slowly to the point that I can not move an object or for example rotate 3d view

All this leads to most of the times the program to crash

Does anyone have idea why this might happen?

From already thank you very much and I hope you can help me


Posted by semental at Feb 11, 2015 3:19:36 PM
Re: LINUX - sweethome3d extremely slow and hangs
does anyone have any clue?

Posted by hansmex at Feb 11, 2015 4:01:56 PM
Re: LINUX - sweethome3d extremely slow and hangs
I use a PC with Ubuntu 14.04 (64 bits) and I don't have any problems. Seen the fact that Mint is derived from Ubuntu, you shouldn't have too many problems either.

A few tips:
- uninstall all Java
- use the installed version, not the webstart or online version
- the installed version comes with a copy of Java
- update your device drivers if necessary/possible
- use the system monitor to check how much memory SH3D is using
- use the Xmx trick to give more memory to SH3D (see FAQ)

Maybe your problems are caused by a faulty model that you imported; when having the problem, delete half of all your models and check whether the problem is gone. Use Undo to restore, than delete the other half. Repeat to find the model(s) that cause(s) the problems.

Good luck

Posted by semental at Feb 15, 2015 3:18:51 AM
Re: LINUX - sweethome3d extremely slow and hangs
i'll try that and then report

Posted by esparky at Nov 17, 2017 8:53:49 AM
Re: LINUX - sweethome3d extremely slow and hangs
Modify your SH3D startup script and add -Dsun.java2d.opengl=true . It rapidly help with my Intel HD5500 on debian.

Posted by tapia at Jan 15, 2018 10:19:11 PM
Re: LINUX - sweethome3d extremely slow and hangs
Thanks! That really improved the responsiveness of the program! Why is this not default behaviour?