Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mdouchement opened this issue Mar 7, 2019 · 4 comments

Comments

@mdouchement
Copy link

Hello, I wanted to install jellyfin-samsungtv and I've found your Reddit post.

I wanted to start Tizen Studio with your Docker version but I'm getting the following error:

[desktop_scripts]>> docker run -d \
    --name tizen-studio-ide \
    -e DISPLAY=$DISPLAY \
    --net=host \
    -v /tmp/.X11-unix:/tmp/.X11-unix \
    -v $HOME/tizen/workspace:/home/tizen/workspace \
    -v $HOME/tizen/extensions:/home/tizen/extensions \
    -v $HOME/tizen/certificates:/home/tizen/certificates \
    ubergeek77/tizen-studio-ide:2.5
d768544f4c21ab15fa5275422fa848c4db535651a894ce418e49c08520f4815c
[desktop_scripts]>> docker exec -u tizen -it tizen-studio-ide /bin/bash
tizen@user-pc:/$ ~/tizen-studio/ide/TizenStudio.sh
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option PermSize=128M; support was removed in 8.0
Java HotSpot(TM) 64-Bit Server VM warning: ignoring option MaxPermSize=256M; support was removed in 8.0
library initialization failed - unable to allocate file descriptor table - out of memory

The container tizen-studio-ide is alive with less than 100MB of memory used. I'm running the container on a VM with 8GB RAM and 40GB of HDD.

Did you have encountered this error and do you know how to resolve it?

@ubergeek77
Copy link
Owner

Oh wow, this is interesting.

Unfortunately no, I've never seen this before. I encountered zero Java errors when setting this up. Most of my issues were just with Tizen being stupid.

I'm really not sure if I can fix this, but what I can tell you is that I ran this for myself with Arch Linux.

What distro do you use? And is your Docker up to date?

@MathiasPius
Copy link

For any other DenverCoder9s out there who might stumble upon this issue after having hit the exact same issue, I resolved it by adding a --ulimit nofile=1024:1024 flag to my docker commands, both build and run.

I pulled 1024 out of my ass, so you might have to go higher if it doesn't work.

@ubergeek77
Copy link
Owner

I gotta say I'm surprised people are still using this 😅

@MathiasPius
Copy link

Oh I wasn't using it directly, just stumbled upon it while doing something similar with Docker and Tizen, and stumbled upon this in my quest for answers. Figured I'd put the solution in case someone else ends up here 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants