flume-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Mingjie Lai <mjla...@gmail.com>
Subject Re: Java Heap Space Out Of Memory error
Date Thu, 13 Oct 2011 23:44:22 GMT
Hammerman.

Are you sure your flume master has OOME with "-Xms3g -Xmx3g"? I have 
test env running for long time, but didn't notice any master OOME issue. 
Or you're doing something special?

Thanks,
Mingjie

On 10/11/2011 06:05 AM, Hammerman, Joseph wrote:
> Thanks, Mingjie.
>
> The solution for us was to increase the JOPTS value in
> /usr/lib/flume/bin/flume.
>
> On 10/11/11 3:07 AM, "Mingjie Lai"<mjlai09@gmail.com>  wrote:
>
>> You can try to use ``jps -v'' to see whether the jvm options applied.
>>
>> In bin/flume, I also saw that the watch dog also use JOPTS, so it will
>> also allocate the same amount of heap besides flume master/nodes. Should
>> be a bug.
>>
>>
>> On 10/10/2011 11:12 AM, Hammerman, Joseph wrote:
>>> Hi Flume-users list.
>>>
>>> We seem to only be able to allocate 2Gb of memory to the JVM on our
>>> x86_64
>>> bit machine - does anyone know if there is a a system wide setting for
>>> this? We attempted to force the process to allocate 3Gb for itself using
>>> JOPTS in /usr/lib/flume/bin/flume, but it did not help:
>>>
>>> JOPTS="-Xms3g -Xmx3g"
>>>
>>> We are seeing this in the flume master output file:
>>>
>>> Exception in thread "pool-1-thread-15" java.lang.OutOfMemoryError: Java
>>> heap space
>>> Exception in thread "pool-1-thread-10" java.lang.OutOfMemoryError: Java
>>> heap space
>>>
>>> I provide more information as needed.
>>>
>>>
>>> Thanks
>>> Joe
>>>
>>>
>
>

Mime
View raw message