Issue: Excessive RAM usage (WebKitWebProcess consuming >400MB) vs. stated 5MB footprint
Search before asking
- [x] I searched in the issues and found nothing similar.
Pake version
3.11.10
Rust version
rustc 1.96.0 (ac68faa20 2026-05-25)
Package Manager
npm
System version
ZorinOS 17
Node.js version
v24.16.0
Build Command
Minimal reproduce step
-
Launch the pake-gemini application.
-
Observe the system resource usage.
-
As shown in screenshot, while the main pake-gemini process remains relatively light (approx. 47MB), it spawns a WebKitWebProcess that immediately consumes over 400MB of RAM.
What did you expect to see?
The application should maintain a minimal memory footprint as advertised in the documentation.
What did you see instead?
I am experiencing a significant discrepancy between the actual RAM consumption of the application and the performance claims stated in the documentation. The README claims that the application footprint is around 5MB; however, in practice, the application consumes significantly more.
Anything else?
I understand that WebKitWebProcess is required for rendering web content; however, an overhead of 400MB+ for a single web-wrapped application is quite high and contradicts the project's "lightweight" promise. Could you please investigate if there is any room for memory optimization in the WebKit/Webview configuration?
Are you willing to submit a PR?
- [ ] I'm willing to submit a PR!
I am not look your image
there is no screenshot
I have the same:
@MoAnwer Thanks for the detailed report.
The small-size number refers to the installer/app size on disk, not runtime memory. Those are two separate things.
At runtime Pake uses your system WebView (WebKitWebProcess on Linux), so memory depends on the page you load. Gemini is a heavy SPA, and you would see comparable WebKit memory opening it in GNOME Web/Epiphany or any WebKitGTK browser. Pake adds very little on top of the WebView, and that memory is governed by WebKitGTK, not something Pake can cap without breaking rendering.
So this isn't a Pake-side leak, it is the expected cost of rendering a full web app through the system WebView.
It is still worth updating to the latest CLI and rebuilding to stay current: npm i -g pake-cli@latest. That won't lower the WebView's baseline memory, but it keeps you on the newest fixes. If memory ever grows unbounded well beyond what the loaded page itself uses, that would be worth a separate report.
I have the same:
![]()
I think linux users is not need this🧐
This is on Mac, Slack consumes almost 700 MB - don't see any memory savings.
I have the same:
I think linux users is not need this🧐
Why are you saying that?
This is on Mac, Slack consumes almost 700 MB - don't see any memory savings.
![]()
Hi @lalitindoria I was actually looking into installing Pake-packaged apps on macOS as well. For my first test, I tried Slack and noticed that the memory usage for pake-slack was comparable to running it as an installed app via Safari.
Based on @tw93’s explanation in the main issue, it seems this resource usage is tied to the macOS underlying browser engine (WebKit/Safari). Since Slack itself is quite feature-heavy, a certain amount of memory consumption is expected when Pake packages it using the native system engine.
@tw93, please feel free to correct me if I've misunderstood or if there are any other nuances to keep in mind! Thanks for all the great work on this project.
@MoAnwer The ~5MB number is the installer/app size on disk, not runtime memory. At runtime Pake uses your system WebView (WebKitWebProcess on Linux, WKWebView on macOS), and that process's memory is governed by the engine and the page you load, not by Pake. A heavy SPA like Gemini or Slack uses a comparable amount opening in any WebKitGTK browser such as GNOME Web. Pake adds very little on top, so there is no Pake-side knob to meaningfully reduce it. Closing as not planned since this is inherent to the system WebView rather than a Pake bug. Thanks for the detailed report.
