title: Logcat message: Default buffer size used in BufferedInputStream constructor.
body: <p>While executing my project I am getting the error shown below in logcat:</p>
  
  <blockquote>
    <p>05-12 12:43:17.268: INFO/global(801): Default buffer size used in BufferedInputStream constructor. It would be better to be explicit if an 8k buffer is required.</p>
  </blockquote>
  
  <p>My code is shown below. Here the data I passed into <code>commonParser()</code> is long response which I got from the web services.</p>
  
  <pre><code>public void commonParser(String data)
  {
      try
      {
          if(data!=null)
          {
              InputStream is = new ByteArrayInputStream(data.getBytes());
              Reader reader = new InputStreamReader(is, "UTF-8");
              InputSource inputSource = new InputSource(reader);
              inputSource.setEncoding("UTF-8");
              SAXParser sp = SAXParserFactory.newInstance().newSAXParser();
              sp.parse(inputSource, this);
          }
      } catch (UnsupportedEncodingException e) {
          System.out.println("Common Parser Unsupported Encoding :: "+e);
      } catch (ParserConfigurationException e) {
          System.out.println("Parse Config error"+e);
      } catch (SAXException e) {
          System.out.println("Sax error "+e);
      } catch (IOException e) {
          System.out.println("IO Error "+e);
      }
  }
  </code></pre>
  
  <p>The logcat response suggests to me that I use an 8k buffer size but I don't know how to give more size to <code>BufferedInputStream</code>.</p>