Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Bug] BufferExhaustedException will be thrown when write a high volume of data to log table with arrow formart #267

Open
1 of 2 tasks
luoyuxia opened this issue Dec 25, 2024 · 0 comments
Assignees
Labels
bug Something isn't working component=client

Comments

@luoyuxia
Copy link
Collaborator

Search before asking

  • I searched in the issues and found nothing similar.

Fluss version

0.5.0

Minimal reproduce step

Create a log table and write into the log table with a high volume of data. Then the exception will be throw

com.alibaba.fluss.exception.FlussRuntimeException: com.alibaba.fluss.exception.BufferExhaustedException: Failed to allocate new segment within the configured max blocking time 120000 ms. Total memory: 67108864 bytes. Available memory: 72220672 bytes. page size: 131072 bytes
	at com.alibaba.fluss.client.write.WriterClient.doSend(WriterClient.java:191)
	at com.alibaba.fluss.client.write.WriterClient.send(WriterClient.java:119)
	at com.alibaba.fluss.client.table.writer.TableWriter.send(TableWriter.java:71)
	at com.alibaba.fluss.client.table.writer.AppendWriter.append(AppendWriter.java:64)
	at com.alibaba.fluss.connector.flink.sink.AppendSinkFunction.writeRow(AppendSinkFunction.java:51)
	at com.alibaba.fluss.connector.flink.sink.FlinkSinkFunction.invoke(FlinkSinkFunction.java:121)
	at com.alibaba.fluss.connector.flink.sink.FlinkSinkFunction.invoke(FlinkSinkFunction.java:56)
	at org.apache.flink.table.runtime.operators.sink.SinkOperator.processElement(SinkOperator.java:79)
	at org.apache.flink.streaming.runtime.tasks.OneInputStreamTask$StreamTaskNetworkOutput.emitRecord(OneInputStreamTask.java:245)
	at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.processElement(AbstractStreamTaskNetworkInput.java:201)
	at org.apache.flink.streaming.runtime.io.AbstractStreamTaskNetworkInput.emitNext(AbstractStreamTaskNetworkInput.java:159)
	at org.apache.flink.streaming.runtime.io.StreamOneInputProcessor.processInput(StreamOneInputProcessor.java:68)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.processInput(StreamTask.java:616)
	at org.apache.flink.streaming.runtime.tasks.mailbox.MailboxProcessor.runMailboxLoop(MailboxProcessor.java:231)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.runMailboxLoop(StreamTask.java:1080)
	at org.apache.flink.streaming.runtime.tasks.StreamTask.invoke(StreamTask.java:1029)
	at org.apache.flink.runtime.taskmanager.Task.runWithSystemExitMonitoring(Task.java:959)
	at org.apache.flink.runtime.taskmanager.Task.restoreAndInvoke(Task.java:938)
	at org.apache.flink.runtime.taskmanager.Task.doRun(Task.java:751)
	at org.apache.flink.runtime.taskmanager.Task.run(Task.java:567)
	at java.lang.Thread.run(Thread.java:879)
Caused by: com.alibaba.fluss.exception.BufferExhaustedException: Failed to allocate new segment within the configured max blocking time 120000 ms. Total memory: 67108864 bytes. Available memory: 72220672 bytes. page size: 131072 bytes

What doesn't meet your expectations?

N/A

Anything else?

No response

Are you willing to submit a PR?

  • I'm willing to submit a PR!
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working component=client
Projects
None yet
Development

No branches or pull requests

3 participants