Home | About | Sematext search-lucene.com search-hadoop.com
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB
 Search Hadoop and all its subprojects:

Switch to Threaded View
Kafka >> mail # user >> log.file.size limit?


Copy link to this message
-
Re: log.file.size limit?
but it show's long not int?

Isn't it then Long.MAX_VALUE ?
On Mon, Mar 25, 2013 at 3:14 PM, David Arthur <[EMAIL PROTECTED]> wrote:

> FileChannel#map docs indicate the max size is Integer.MAX_VALUE, so yea 2gb
>
> http://docs.oracle.com/javase/**6/docs/api/java/nio/channels/**
> FileChannel.html#map(java.nio.**channels.FileChannel.MapMode<http://docs.oracle.com/javase/6/docs/api/java/nio/channels/FileChannel.html#map(java.nio.channels.FileChannel.MapMode>,
> long, long)
>
>
>
> On 3/25/13 2:42 PM, S Ahmed wrote:
>
>> Is there any limit to how large a log file can be?
>> I swear I read somewhere that java's memory mapped implementation is
>> limited to 2GB but I'm not sure.
>>
>>
>

 
NEW: Monitor These Apps!
elasticsearch, apache solr, apache hbase, hadoop, redis, casssandra, amazon cloudwatch, mysql, memcached, apache kafka, apache zookeeper, apache storm, ubuntu, centOS, red hat, debian, puppet labs, java, senseiDB