Australia
Joined: Mar 6, 2024
Post Count: 55
Status:
Offline
3D View "Display In Separate Window" Causes Hangs
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.
Romania
Joined: Apr 24, 2014
Post Count: 588
Status:
Offline
Re: 3D View "Display In Separate Window" Causes Hangs
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:
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):
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 (Greer's Third Law) When all else fails, read the instructions.Murphy's Law
----------------------------------------
[Edit 1 times,
last edit by dorin at Jun 4, 2024, 4:45:15 PM]
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
Re: 3D View "Display In Separate Window" Causes Hangs
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 developer
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
Re: 3D View "Display In Separate Window" Causes Hangs
Don’t expect an update too soon and meanwhile, avoid attaching / detaching the 3D view too quickly.
----------------------------------------
Emmanuel Puybaret, Sweet Home 3D developer
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
Re: 3D View "Display In Separate Window" Causes Hangs
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 developer
----------------------------------------
[Edit 1 times,
last edit by Puybaret at Jun 11, 2024, 3:54:47 PM]
France
Joined: Nov 7, 2005
Post Count: 9371
Status:
Offline
Re: 3D View "Display In Separate Window" Causes Hangs
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 developer
Australia
Joined: Mar 6, 2024
Post Count: 55
Status:
Offline
Re: 3D View "Display In Separate Window" Causes Hangs
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.