Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Thread leak or expected behavior with fibers ? #1181
I use simple gem fastimage to fetch image metadata, gem uses Fibers
When i run loop in console and watch for jruby process through jmap i see what count org.jruby.RubyThread objects and other thread related objects increased by time
Thanks for answer!
Run same test on 1.7.6 – output jmap after ten minutes, seems like threads not collected by GC
@fatum I was having this same issue. I managed to get around it by forking the gem and removing the use of fibers if you pass
I also think this might a be a more fundamental problem with fibers, and more specifically with queues, as I have been having problems with queues waiting forever to pop.