Discussion:
[chromium-discuss] Why Does Restart Release More RAM Than Clearing Cache?
Johny Why
2018-08-10 01:44:13 UTC
Permalink
On restarting Chromium, with same tabs via "continue where you left off",
and same tabs hibernated, the occupied RAM is much less than before
restarting Chromium.

Why?

I noticed clearing the cache doesn't reduce RAM nearly as much as
restarting Chromium.

Why?

THX
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
PhistucK
2018-08-12 07:08:57 UTC
Permalink
The browser uses RAM for more than just cache.
And in the worst case, it might just be a memory leak. :(

☆*PhistucK*
Post by Johny Why
On restarting Chromium, with same tabs via "continue where you left off",
and same tabs hibernated, the occupied RAM is much less than before
restarting Chromium.
Why?
I noticed clearing the cache doesn't reduce RAM nearly as much as
restarting Chromium.
Why?
THX
--
--
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups
"Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Johny Why
2018-08-12 07:13:01 UTC
Permalink
how can i achieve the same amount of RAM-clear that a restart gives,
without restarting?
cache-clear on chromium menu doesn't do it.

let's assume for the moment that it's not a leak.

THX
Post by PhistucK
The browser uses RAM for more than just cache.
And in the worst case, it might just be a memory leak. :(
☆PhistucK
Post by Johny Why
On restarting Chromium, with same tabs via "continue where you left
off", and same tabs hibernated, the occupied RAM is much less than
before restarting Chromium.
Why?
I noticed clearing the cache doesn't reduce RAM nearly as much as
restarting Chromium.
Why?
THX
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
PhistucK
2018-08-12 08:12:28 UTC
Permalink
No idea, like I wrote, the RAM is used for more than just the cache.

☆*PhistucK*
Post by Johny Why
how can i achieve the same amount of RAM-clear that a restart gives,
without restarting?
cache-clear on chromium menu doesn't do it.
let's assume for the moment that it's not a leak.
THX
The browser uses RAM for more than just cache.
And in the worst case, it might just be a memory leak. :(
☆*PhistucK*
Post by Johny Why
On restarting Chromium, with same tabs via "continue where you left off",
and same tabs hibernated, the occupied RAM is much less than before
restarting Chromium.
Why?
I noticed clearing the cache doesn't reduce RAM nearly as much as
restarting Chromium.
Why?
THX
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Torne (Richard Coles)
2018-08-13 15:02:54 UTC
Permalink
The web pages themselves may also just be using less memory after
restarting - some web pages cache information themselves in the JS heap, or
grow the DOM over time, or do other things that increase memory usage the
longer the page is open or the more you interact with the page.
Post by PhistucK
No idea, like I wrote, the RAM is used for more than just the cache.
☆*PhistucK*
Post by Johny Why
how can i achieve the same amount of RAM-clear that a restart gives,
without restarting?
cache-clear on chromium menu doesn't do it.
let's assume for the moment that it's not a leak.
THX
The browser uses RAM for more than just cache.
And in the worst case, it might just be a memory leak. :(
☆*PhistucK*
Post by Johny Why
On restarting Chromium, with same tabs via "continue where you left
off", and same tabs hibernated, the occupied RAM is much less than before
restarting Chromium.
Why?
I noticed clearing the cache doesn't reduce RAM nearly as much as
restarting Chromium.
Why?
THX
--
--
http://groups.google.com/a/chromium.org/group/chromium-discuss
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
johny why
2018-08-13 20:52:32 UTC
Permalink
I think so too, Richard.

So how does one purge that, shy of restarting?

I tried a couple extensions, but didn't seem to achieve that.

THX
Post by Torne (Richard Coles)
The web pages themselves may also just be using less memory after
restarting - some web pages cache information themselves in the JS heap, or
grow the DOM over time, or do other things that increase memory usage the
longer the page is open or the more you interact with the page.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Torne (Richard Coles)
2018-08-13 20:53:28 UTC
Permalink
Close the tabs, and open new tabs? Or just reload them?
Post by johny why
I think so too, Richard.
So how does one purge that, shy of restarting?
I tried a couple extensions, but didn't seem to achieve that.
THX
Post by Torne (Richard Coles)
The web pages themselves may also just be using less memory after
restarting - some web pages cache information themselves in the JS heap, or
grow the DOM over time, or do other things that increase memory usage the
longer the page is open or the more you interact with the page.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Jon Perryman
2018-08-13 22:58:47 UTC
Permalink
Forget "clear cache" because it should have little or no affect on memory.
Images and files are cached to disk. You are affecting your network traffic.

Long running tabs should be periodically reloaded. Gmail is one of the
worst offenders. I've seen it get to almost a 1G and reload brings it back
down to 300M. Extensions are another long running process. Ad blocker is as
bad as Gmail but you must stop and start it. Restarting chrome a few times
a day is usually easier.

In chrome under more tools, open "task manager" and sort the list by
"memory footprint". This will let you see the worst offenders. Hover the
mouse over the icon will show the tab name.

Regards, Jon.
Post by Torne (Richard Coles)
Close the tabs, and open new tabs? Or just reload them?
Post by johny why
I think so too, Richard.
So how does one purge that, shy of restarting?
I tried a couple extensions, but didn't seem to achieve that.
THX
Post by Torne (Richard Coles)
The web pages themselves may also just be using less memory after
restarting - some web pages cache information themselves in the JS heap, or
grow the DOM over time, or do other things that increase memory usage the
longer the page is open or the more you interact with the page.
--
--
http://groups.google.com/a/chromium.org/group/chromium-discuss
---
You received this message because you are subscribed to the Google Groups
"Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
johny why
2018-08-13 23:06:07 UTC
Permalink
Thx, but seeking an automated or 1 click solution.

Is there a flag or startup switch to limit total or per-tab RAM?

THX
Post by Jon Perryman
Forget "clear cache" because it should have little or no affect on memory.
Images and files are cached to disk. You are affecting your network traffic.
Long running tabs should be periodically reloaded. Gmail is one of the
worst offenders. I've seen it get to almost a 1G and reload brings it back
down to 300M. Extensions are another long running process. Ad blocker is as
bad as Gmail but you must stop and start it. Restarting chrome a few times
a day is usually easier.
In chrome under more tools, open "task manager" and sort the list by
"memory footprint". This will let you see the worst offenders. Hover the
mouse over the icon will show the tab name.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Jon Perryman
2018-08-14 00:41:42 UTC
Permalink
Make sure you are at the current version of chrome (help about). They are
always working on storage problems.

You could try one of the tab suspender extension such as "great suspender",
"one tab" or ???. They should help the problem but you may find them
annoying on a few pages. A search for "chrome memory" will give you plenty
to read about the memory problem and possible solutions.

Regards, Jon.
Post by johny why
Thx, but seeking an automated or 1 click solution.
Is there a flag or startup switch to limit total or per-tab RAM?
THX
Post by Jon Perryman
Forget "clear cache" because it should have little or no affect on
memory. Images and files are cached to disk. You are affecting your network
traffic.
Long running tabs should be periodically reloaded. Gmail is one of the
worst offenders. I've seen it get to almost a 1G and reload brings it back
down to 300M. Extensions are another long running process. Ad blocker is as
bad as Gmail but you must stop and start it. Restarting chrome a few times
a day is usually easier.
In chrome under more tools, open "task manager" and sort the list by
"memory footprint". This will let you see the worst offenders. Hover the
mouse over the icon will show the tab name.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
johny why
2018-08-14 00:50:36 UTC
Permalink
Yep, familiar with all those options.
Anyone know how to set RAM limits?

THX
Post by Jon Perryman
Make sure you are at the current version of chrome (help about). They are
always working on storage problems. You could try one of the tab suspender
extension such as "great suspender", "one tab" or ???.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Jon Perryman
2018-08-14 02:27:39 UTC
Permalink
You should ask a javascript group if there a memory policy or quota. I
doubt it because this is not a one size fits all situation. It's normally a
question for each developer.

Regards, Jon.
Post by johny why
Yep, familiar with all those options.
Anyone know how to set RAM limits?
THX
Post by Jon Perryman
Make sure you are at the current version of chrome (help about). They are
always working on storage problems. You could try one of the tab suspender
extension such as "great suspender", "one tab" or ???.
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
johny why
2018-08-14 03:25:27 UTC
Permalink
Ok Jon, thx for your thoughts. Let's see if anyone else has some.
Post by Jon Perryman
You should ask a javascript group if
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
PhistucK
2018-08-14 04:31:45 UTC
Permalink
The browser process also slowly grows over time, regardless of tabs being
closed. :( No way to get that memory back...

☆*PhistucK*
Post by Torne (Richard Coles)
The web pages themselves may also just be using less memory after
restarting - some web pages cache information themselves in the JS heap, or
grow the DOM over time, or do other things that increase memory usage the
longer the page is open or the more you interact with the page.
Post by PhistucK
No idea, like I wrote, the RAM is used for more than just the cache.
☆*PhistucK*
Post by Johny Why
how can i achieve the same amount of RAM-clear that a restart gives,
without restarting?
cache-clear on chromium menu doesn't do it.
let's assume for the moment that it's not a leak.
THX
The browser uses RAM for more than just cache.
And in the worst case, it might just be a memory leak. :(
☆*PhistucK*
Post by Johny Why
On restarting Chromium, with same tabs via "continue where you left
off", and same tabs hibernated, the occupied RAM is much less than before
restarting Chromium.
Why?
I noticed clearing the cache doesn't reduce RAM nearly as much as
restarting Chromium.
Why?
THX
--
--
http://groups.google.com/a/chromium.org/group/chromium-discuss
--
--
Chromium Discussion mailing list: chromium-***@chromium.org
View archives, change email options, or unsubscribe:
http://groups.google.com/a/chromium.org/group/chromium-discuss

---
You received this message because you are subscribed to the Google Groups "Chromium-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email to chromium-discuss+***@chromium.org.
Loading...