3D View "Display In Separate Window" Causes Hangs

This topic has been viewed 7505 times and has 13 replies
Thread status: Active
Still a problem with your graphic card? [img]http://www.sweethome3d.com/images/flags/en_small.gif[/img]
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

Thanks for the 7.4 update. There's a note about separating the 3D view on a separate monitor would cause freezes but now fixed. However, I separate this window on a single monitor and I can guarantee a hang after toggling around six times. This is with ONE model in the plan.
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

Re: 3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

I think there's a severe memory leak going on, my RAM is maxed out after doing this...
User avatar
dorin
Posts: 824
Joined: Thu Apr 24, 2014 9:14 am
Country: Vatra Dornei, Suceava, Romania

Re: 3D View "Display In Separate Window" Causes Hangs

Post by dorin »

Thanks A.D.STUDIO!
I've encountered the same problem even I'm under linux (debian) on both computers (at work and at home).
Symptoms: SH3D don't start even with an empty file.
Result in konsole:

Code: Select all

library initialization failed - unable to allocate file descriptor table - out of memory

Solution for linux users found on the net:
What fixed it was this command as root (su -) (sudo didn't do it):

Code: Select all

echo >/etc/security/limits.d/systemd.conf "* hard nofile 1048576"

Then reboot.
Solutions found here and here .
I hope it will help someone.
A computer program does what you tell it to do, not what you want it to do. Murphy's Law
When all else fails, read the instructions. Murphy's Law
If you don't like "AS IS", DIY. Dorin's law
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View "Display In Separate Window" Causes Hangs

Post by Puybaret »

I was able to reproduce this issue by using the shortcut for Display in separate window / Display in main window menu items (Ctrl + Alt + Y) many times quickly. Andy, is it what you tried on your side?

I found it wasn't a memory leak issue, but rather a problem of synchronization between separate / not separate state of the 3D view. Anyway, I fixed it and the correction will be available in the next version.
Emmanuel Puybaret, Sweet Home 3D creator
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

Re: 3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

@Puybaret, yes that is exactly what has been happening to me. Thank you for looking into it and I look forward to the update.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View "Display In Separate Window" Causes Hangs

Post by Puybaret »

Don’t expect an update too soon and meanwhile, avoid attaching / detaching the 3D view too quickly.
Emmanuel Puybaret, Sweet Home 3D creator
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

Re: 3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

Would you consider releasing a beta or something for me to test? I'm not actually toggling that fast and have a presentation in a week.
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View "Display In Separate Window" Causes Hangs

Post by Puybaret »

Is it so difficult to refrain yourself from toggling detached 3D view?!?
Or maybe your project is huge or it’s another issue.
Emmanuel Puybaret, Sweet Home 3D creator
User avatar
Puybaret
Posts: 9440
Joined: Mon Nov 07, 2005 12:00 pm
Country: Paris, France
Contact:

Re: 3D View "Display In Separate Window" Causes Hangs

Post by Puybaret »

By the way, I noticed that the program didn't hang. If you click in the main window, it will activate it and you can continue to use it.
Emmanuel Puybaret, Sweet Home 3D creator
A.D.STUDIO
Posts: 55
Joined: Wed Mar 06, 2024 8:00 am
Country: Australia

Re: 3D View "Display In Separate Window" Causes Hangs

Post by A.D.STUDIO »

OK well it hangs for me. Not sure why you'd offer detached 3D view if you don't think people should use it. I'm on a single screen, and because it can be done with a key command, I can go full screen 3D with a button press, and back again, which is actually quite convenient.
Post Reply New Topic

Who is online

Users browsing this forum: No registered users and 1 guest