| Summary: | Very high memory usage (memory leak?) | ||
|---|---|---|---|
| Product: | [Applications] ghostwriter | Reporter: | Riccardo Robecchi <sephiroth_pk> |
| Component: | general | Assignee: | megan.conkle |
| Status: | CLOSED NOT A BUG | ||
| Severity: | normal | CC: | 89q1r14hd |
| Priority: | NOR | ||
| Version First Reported In: | unspecified | ||
| Target Milestone: | --- | ||
| Platform: | Neon | ||
| OS: | Linux | ||
| Latest Commit: | Version Fixed/Implemented In: | ||
| Sentry Crash Report: | |||
|
Description
Riccardo Robecchi
2022-10-11 16:06:25 UTC
Hi Riccardo, ghostwriter uses Chromium to render the live preview. I believe that should explain the 400MB of memory that is consumed. I'd like to go with something lighter, but if I do then I can't support MathJax or any other JavaScript goodies. (In reply to megan.conkle from comment #1) > Hi Riccardo, > > ghostwriter uses Chromium to render the live preview. I believe that should > explain the 400MB of memory that is consumed. > > I'd like to go with something lighter, but if I do then I can't support > MathJax or any other JavaScript goodies. Thanks for the explanation. However, even with the HTML preview pane disabled, memory continues to climb - at the moment it is over 600 MB. Is this to be considered normal? Shouldn't disabling the HTML preview actually not load it at all, to reduce memory usage? (In reply to Riccardo Robecchi from comment #2) > (In reply to megan.conkle from comment #1) > > Hi Riccardo, > > > > ghostwriter uses Chromium to render the live preview. I believe that should > > explain the 400MB of memory that is consumed. > > > > I'd like to go with something lighter, but if I do then I can't support > > MathJax or any other JavaScript goodies. > > Thanks for the explanation. However, even with the HTML preview pane > disabled, memory continues to climb - at the moment it is over 600 MB. Is > this to be considered normal? Shouldn't disabling the HTML preview actually > not load it at all, to reduce memory usage? The HTML preview is never truly disabled. It is always there being refreshed in the background. This makes it snappier when you choose to show it. If you do some research on it, you will find that Chromium/Chrome does tend to grow in memory even just sitting there drooling. It doesn't look like it's leaking memory, but just being greedy. |