Re: SweetHome3D crash on start with Ubuntu 24.10 : library initialization failed - unable to allocate file descriptor table - out of memoryAbandon (core dumped)

by dorin » Thu Jan 02, 2025 5:26 pm

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 =>

Code: Select all

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

2.1 I've added to ~.bashrc file

Code: Select all

ulimit -n 10000
with not remarkable effects.

2.2 I've added to every sh scripts SweetHome3D

Code: Select all

#!/bin/sh 
ulimit -n 10000
and solve the problem for SH3D to be launched in both situation.

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:

Code: Select all

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.