|
Sweet Home 3D Forum » List all forums » » Forum: Installation » » » Thread: SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped) |
|
| Print at Dec 18, 2025, 12:28:43 PM | View all posts in this thread on one page |
| Posted by Krakapuk at Nov 23, 2024, 3:44:32 PM |
|
SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped) Hi After a fresh install of Ubuntu 24.10, and download and install of SweetHome3D-7.5-linux-x64, I got this error : ./SweetHome3DThe same problem occurs with the snap version of Sweethome3D 6.6 available in the Ubuntu app center: sweethome3d-homedesignSearching for this kind of error on web, it appears related to ulimit of java and recent changes in linux default limit for the number of open files... However I did not find a clean way to manage the problem with Sweet Home 3D. Help welcome :) |
| Posted by ts101 at Dec 8, 2024, 6:52:11 PM |
|
Re: SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped) In case anyone else stumbles upon this: A workaround (?) for this problem is to manually set the "ulimit" to a number that works, e.g. open a shell run ulimit -n 10000and then start SH3D from this shell. Now, I have absolutely no clue of java and have no idea if it does anything else, so use on your own risk. That said, it seems to only affect the shell it is run in as in another shell, when I run ulimit -nit still returns "1024", as was the case in the shell I tried running SH3D from when it did give the error from the post above. |
| Posted by Krakapuk at Dec 9, 2024, 7:45:47 PM |
|
Re: SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped) Many Thanks ts101, it works ! I confirm "ulimit -n 10000" seems to affect only the shell environment in which the command is run. Indeed, closing the shell where Sweethome 3d was successfully launched, and reopening a new one without running "ulimit -n 10000", leads to the same error "library initialization failed..." |
| Posted by sjb007 at Dec 9, 2024, 10:12:43 PM |
|
Re: SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped) Just add the ulimit command in your ~/.bashrc file, then it will apply for all shells. |
| Posted by dorin at Jan 2, 2025, 5:26:47 PM |
|
Re: SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped) New Year, new computer and a fresh debian install. 1. With first system installation (stable) I don't have Wi-Fi connection. So, I've switch to sid (Still In Development) and the Wi-Fi connection is UP. 2. Try to run SH3D: - with double-click => nothing - run in terminal => library initialization failed - unable to allocate file descriptor table - out of memory2.1 I've added to ~.bashrc file ulimit -n 100002.2 I've added to every sh scripts SweetHome3D #!/bin/sh 3. Trying to launch from Eclipse as debug and I've receive again the error, this time in Eclipse console. Solution (for me): -run as root: echo > /etc/security/limits.d/systemd.conf "* hard nofile 65536"-then RESTART! It seems to work for me. PS: I suspect it's related to java 8. ---------------------------------------- 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 |
|
|
Current timezone is GMT Dec 18, 2025, 12:28:43 PM |