Skip to content

[Bug][Agent] Source use LinkedBlocking with no size limit which might cause OOM #2789

@EMsnap

Description

@EMsnap

What happened

[Bug] Agent source use linkedblocking with no size limit which might cause oom

What you expected to happen

use a queue with fixed size

How to reproduce

block the output of agent and produce a lot of data might cause oom

Environment

No response

InLong version

0.12.0

InLong Component

InLong Agent

Are you willing to submit PR?

  • Yes, I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Assignees

No one assigned

    Labels

    stage/staleIssues or PRs that had no activity for a long timetype/bugSomething is wrong

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions