[erlang-questions] query about FILE_BUFSIZE in ftp.erl

Alex alustenberg@REDACTED
Tue Dec 9 16:32:33 CET 2008


4096 is a common buffer size, as it fits in a single page of memory.
increasing it will increase runtime memory usage and thats pretty much
it, AFAIK.

On Mon, Dec 8, 2008 at 11:24 PM, sandeep_k <sandeepkampati@REDACTED> wrote:
>
> Hi,
>        In erlang source code (ftp.erl) there is -define(FILE_BUFSIZE,
> 4096).
> can I know the reason why the FILE_BUFSIZE is  specified as 4096?
> what will happen if I increase value FILE_BUFSIZE?
>
>
> --
> View this message in context: http://www.nabble.com/query-about-FILE_BUFSIZE-in-ftp.erl-tp20908591p20908591.html
> Sent from the Erlang Questions mailing list archive at Nabble.com.
>
> _______________________________________________
> erlang-questions mailing list
> erlang-questions@REDACTED
> http://www.erlang.org/mailman/listinfo/erlang-questions
>



More information about the erlang-questions mailing list