"PlayStation LifeStyle", memory usage problem.

For support with specific websites

Moderator: trava90

Forum rules
Please always mention the name/domain of the website in question in your topic title.
Please one website per topic thread (to help keep things organized). While behavior on different sites might at first glance seem similar, they are not necessarily caused by the same.

Please try to include any relevant output from the Toolkit Error Console or the Developer Tools Web Console using the following procedure:
  1. Clear any current output
  2. Navigate or refresh the page in question
  3. Copy and paste Errors or seemingly relevant Warnings into a single [ code ] block.
RexyDallas

"PlayStation LifeStyle", memory usage problem.

Unread post by RexyDallas » 2021-10-02, 17:35

So, this page causes reproducible memory usage problems.

Operating system: Windows 10.
Browser version: 29.4.1.
32-bit or 64-bit?: 64-bit.
Problem URL: https://www.playstationlifestyle.net/20 ... -3d-model/
Theme: Default.
Installed add-ons: Stylem 2.2.6, Greasemonkey for Pale Moon 3.31.4.
Installed plugins: Shockwave Flash 32.0 r0.
CPU: Ryzen 5 3600.
GPU: Gefore GTX 1660.
RAM: 8192 MB RAM.

I opened 6 copies of the page in a private browsing window, let the memory go up until the browser kept hanging, I closed the window before it was too late, then I checked the memory, and it was still above 4,000 MB. The maximum memory usage was over 6,000 MB. The memory usage has gone down now, but it took over 15 minutes to get there, and the memory usage is still above 1,900 MB, which is around where it was before the test.
The expected result is the memory usage does not slowly climb until the web browser starts hanging, and the memory is cleared shortly after the window is closed.

This isn't a, "Web Compatibility", problem, but it could be an issue with a specific website, so I wasn't sure where to put it.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 35473
Joined: 2011-08-28, 17:27
Location: Motala, SE
Contact:

Re: "PlayStation LifeStyle", memory usage problem.

Unread post by Moonchild » 2021-10-02, 20:11

RexyDallas wrote:
2021-10-02, 17:35
The expected result is the memory usage does not slowly climb until the web browser starts hanging
That is, however, the behaviour you get if a website is script-heavy and does not clean up after itself/dynamically reloads new content.
Especially if you open 6 copies of such a site in parallel in private windows, you may see a lot of extra memory usage (PB windows use a lot of memory-only storage types by design).
RexyDallas wrote:
2021-10-02, 17:35
and the memory is cleared shortly after the window is closed.
Depending on what the memory was allocated for, this may take a while. For performance reasons memory is not immediately released in case there are other consumers of the same resources, for example. Also, if you reached high memory usage due to bad programming of the website, you may be looking at tens of thousands of objects that have to be "collected".
If you ultimately end up with the same memory level you started out with as you did, then this is all as-expected from a browser engine point of view.
"Sometimes, the best way to get what you want is to be a good person." -- Louis Rossmann
"Seek wisdom, not knowledge. Knowledge is of the past; wisdom is of the future." -- Native American proverb
"Linux makes everything difficult." -- Lyceus Anubite

Locked