How do I increase the size of the buffer in java.nio.Pipe?

Discussion in 'Java' started by John, Feb 21, 2006.

  1. John

    John Guest

    Hi,

    I'm trying to use java.nio.Pipe to communicate large amounts of data
    between two threads. The default 1k (or maybe 2k) buffer of bytes is
    not sufficient for my needs. I would like to allocate several megabytes
    of buffer space.

    What is the best way to increase the size of the buffer used by
    java.nio.Pipe?

    THANKS!
    John
     
    John, Feb 21, 2006
    #1
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Cam Acosta

    increase response buffer size

    Cam Acosta, Nov 10, 2003, in forum: ASP .Net
    Replies:
    2
    Views:
    9,937
    Cam Acosta
    Nov 10, 2003
  2. iksrazal

    NIO with timeouts != NIO?

    iksrazal, Jun 17, 2004, in forum: Java
    Replies:
    1
    Views:
    6,412
    iksrazal
    Jun 18, 2004
  3. Raja
    Replies:
    12
    Views:
    24,712
    John Harrison
    Jun 21, 2004
  4. durumdara
    Replies:
    0
    Views:
    520
    durumdara
    Oct 16, 2006
  5. Fredrik Lundh
    Replies:
    0
    Views:
    425
    Fredrik Lundh
    Oct 16, 2006
Loading...

Share This Page