0

App crash with error "Could not create wake pipe. errno=24"

Picasso.Builder builder = new Picasso.Builder(mContext);
                    builder.listener(new Picasso.Listener() {

                        @Override
                        public void onImageLoadFailed(Picasso arg0,
                                Uri arg1, Exception arg2) {
                            // TODO Auto-generated method stub
                            arg2.printStackTrace();
                        }
                    });
                    builder.memoryCache(new LruCache(Utils.MAX_CACHE_SIZE))
                            .build().load(image_url_list[position])
                            .error(R.drawable.ic_launcher).fit()
                            .centerCrop().into(imageview);
PpL
  • 21
  • 7
  • Do you read this http://stackoverflow.com/questions/17606111/a-looper-could-not-create-wake-pipe-errno-24 ? – user2807083 Mar 01 '16 at 07:56
  • Thank you for replying @dtbeaver and yes i read this. But i want to configure the size of the memory cache ,so can you please help – PpL Mar 01 '16 at 08:55
  • errno 24 is EMFILE, and corresponding error message is "Too many file descriptors are in use by the process." So your or some other application is open too many files, I think. – user2807083 Mar 01 '16 at 09:09

0 Answers0