Bugs
Todo

Memory usage by tauri://localhost process increases overtime

When any app is opened, the process starts with around 225 MB of RAM usage, which grows with time.

The app has been running for more than 11 hours now, and it accumulated 1.25 GB (5x of initial memory).

11 Comments

Sign in to comment

AO
Alaz Oz
Alaz Oz·10/26/2026


Usage going way beyond in 0.1.13

The app has be active in the background for 17hrs
Consumption peaked to 3.43 GB in the background when I took the screenshot. (The app was just opened but wasn't in focus for those past 17hrs)
Then I turned to app and messaged there and for some reason the mem usage dropped to 1GB and it is not 700MB. The status showed no schedule/program running. NO bao was used.

Only the chat screen was opened this whole time "Anytwo assembly chat"

D
Den
Den·10/7/2026

The issue is deeper on our side. No quick fixes for now. We will still investigate

AO
Alaz Oz
Alaz Oz·10/8/2026

I will also try to investigate on my side. Looking forward to the new update that had the previous performance improvement.

AO
Alaz Oz
Alaz Oz·10/8/2026

After running for 25Hrs, I am at Base ~966MB
This is how I have browsed stopping at each step for 2 min

1. ~966 MB (Chat screen)
2. ~1.01 GB (Gone to Space A collections page with 441 page)
3. SAME (Gone to chat screen)
4. ~ 1.25 GB (Gone to Space A collections page with "Group by" filter view) (The Space A's collection has 2 views, All -> Normal, Other -> "Group by")
5. ~1.15 GB (changed to direct chat screen FROM group by collection screen without changing the view)
6. ~966MB (changed to Space B with 26 page)
7. SAME (changed to direct chat from Space B)

Next I closed the AnyTwo completely then re opened it.
Base memory usage -> 350MB (Just talking about tauri://localhost process)
I replicated the same steps.

1. 300mb
2. 450mb
3. SAME
4. 700mb
5. SAME
6. SAME
7. SAME

8. 800MB Changed to the Space A with "Group By" filter
9. 940MB Changed to the Space A's NON "Group By" filter
10. 1GB Changed to the Direct chat
11. SAME changed to Space B
After few minutes
Memory dropped to 550MB


TLDR;
When changing from a space to direct chat, it seems that the last opened space is in the memory. (probably for quick opening)

Changing spaces is probably causing memory to spike but stopping it to go back normal

PS: "Group by" lagging bug was reported earlier and it is marked as Done.


D
Den
Den·10/6/2026

We've released another round of memory improvements based on this report:

  • Chats now use less memory when they stay open for a long time, for example Bao's chat during a long working session. We found one more place where memory could build up there, in addition to the one fixed earlier.
  • The app now frees memory it used to hold on to after talking to its local server, so it stays lighter during long sessions.

These changes will ship in an upcoming update.

If you still see memory growing after updating, it would help a lot to know more about how you use the app when it happens: which screens you usually keep open, whether Bao is working in the background, and roughly how long the app had been running. Screenshots of Activity Monitor taken a few hours apart would be especially useful.

D
Den
Den·10/1/2026

If you find any other perf/memory issues, please ping us and open a new ticket. Thanks again for your research!

D
Den
Den·10/1/2026

Also when a page stays open for a long time and gets updated from elsewhere (another device or the assistant), the app kept an old copy of the whole page in memory for every update. The next update caps this, so memory stops growing after a while. A follow-up update will make each change cost only what actually changed.

D
Den
Den·10/1/2026

Thanks for the report and the screenshot. We found two places where the app kept data in memory for as long as it was open:

  • the undo history of an open page, which kept growing as the page changed;
  • the history of chats you weren't looking at, including Bao's chat.

Both now have a limit, so memory use should stay flat during long sessions. The fix will ship in an upcoming update. If you still see memory climbing after updating, let us know and we'll dig further.

AO
Alaz Oz
Alaz Oz·10/5/2026(edited)


Any version: 0.1.6
This thing is still going rogue after 45 hrs (~2 days)
Also there is two tauri://localhost process now

JP
Jesse Perl
Jesse Perl·9/30/2026

Interesting, I haven't seen that issue yet after running for 15hrs. What system/ technical details are you using?

AO
Alaz Oz
Alaz Oz·9/30/2026

Technical Information

App

Version: 0.1.4

Build: 2026-09-25 15:29 UTC · #3569300cca9426265e97ea21381401b82c9c7928

Channel: release

Network: production (default)

Tauri: 2.11.6

Components

SDK: v0.2.3

any: 12c28f44575c4781e895444a5ac6c4021ce6127138c276d602d0f9270f0789be

llamacpp: b10620 · bcc230f1d9f83f87b7b55491b8720afe65d76eefb88b0e805dab87eb579c18a3

LICENSE: 1d62669bd478dcb823d921d328a11f0ebb03127570452cf1ffe714b93e2c0706

Account

Identity: A7ncdjxnvQijjhFfDX3EPGNtspvdmqe1F5CuZUhdyRNHga5a

System

OS: macos aarch64 27.0.0