Re: i meet java.lang.OutOfMemoryError: Direct buffer memory

2023-08-18 Thread f cad
Thanks for your suggestion
we set  MaxDirectMemorySize to 8g,it still has exception.
we use spark to read ignite.and use ThinIgniteClientOnK8s api to read.
we find that if multiple spark applications read ignite, then ignite will
hit the direct buffer memory oom.
can you give me some suggestions about how  can i confirm that it is a
network problem?
Best Regards.

Jeremy McMillan  于2023年8月18日周五 20:39写道:

> This is most likely to happen when Ignite is fast and the network is slow.
> It's unclear what's happening when you experience this error, so how to fix
> it is also ambiguous.
>
> You could try increasing direct buffer memory in Java options. If that's
> not sufficient share more about your infrastructure and workload and maybe
> we can suggest something else.
>
> On Fri, Aug 18, 2023, 04:28 f cad  wrote:
>
>> hello,
>> in my ignite cluster.i meet error below:
>> JVM will be halted immediately due to the failure:
>> [failureCtx=FailureContext [type=CRITICAL_ERROR,
>> err=java.lang.OutOfMemoryError: Direct buffer memory]].
>> how can i fix.
>> ignite version is 2.14
>>
>


Re: i meet java.lang.OutOfMemoryError: Direct buffer memory

2023-08-18 Thread Jeremy McMillan
This is most likely to happen when Ignite is fast and the network is slow.
It's unclear what's happening when you experience this error, so how to fix
it is also ambiguous.

You could try increasing direct buffer memory in Java options. If that's
not sufficient share more about your infrastructure and workload and maybe
we can suggest something else.

On Fri, Aug 18, 2023, 04:28 f cad  wrote:

> hello,
> in my ignite cluster.i meet error below:
> JVM will be halted immediately due to the failure:
> [failureCtx=FailureContext [type=CRITICAL_ERROR,
> err=java.lang.OutOfMemoryError: Direct buffer memory]].
> how can i fix.
> ignite version is 2.14
>


i meet java.lang.OutOfMemoryError: Direct buffer memory

2023-08-18 Thread f cad
hello,
in my ignite cluster.i meet error below:
JVM will be halted immediately due to the failure:
[failureCtx=FailureContext [type=CRITICAL_ERROR,
err=java.lang.OutOfMemoryError: Direct buffer memory]].
how can i fix.
ignite version is 2.14