msgbyte / msgbyte/tianji

Agent memory leak (still)

Open
#192 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
TypeScript
Stars
3.1k
Forks
194
Avg merge
18m
Merged PRs (30d)
3

Description

After the fix commit 7f70557c776c35e4e01a5533d2c05cecc711e113 associated with #103, the agent's memory leak problem has been alleviated, but it still exists.

Compared with #103, the rate of memory usage growth has slowed down by half.


Image

These are two different instances. Their startup time is May 1st, but the leakage is different. I personally think that it is a memory leak caused by JSON content. My personal opinion is for reference only.

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Begin by reviewing fix commit 7f70557c776c35e4e01a5533d2c05cecc711e113 and issue #103 to understand the earlier agent leak investigation. Reproduce the agent's memory growth over time, then determine whether JSON content is involved; done means the remaining leak is resolved and sustained usage no longer shows unexplained growth.

Written by the indexing model from the issue text.

Assessment

Tech stack
typescript
Domain
backend
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.