Numista coin search pages take up large amounts of computer memory

9 posts • viewed 210 times

This message aims at: reporting a bug

Status: Started
Upvotes: 2
Downvotes: 0

» Quick access to the last post

When I leave Firefox sitting with a Numista search page open the memory use of the browser sometimes grows very large.

Has anyone else seen this? Has this issue been investigated by the developers?
I feel this too... Often I open up a firefox tab to add a new banknote or so, and read on it on another tab. When I return back, the tab seem to be frozen and doesn't respond for quite sometime... The numista pages take up a lot of memory when left alone over time.
The Numismaticae: Rediscovering History through a Numismatic Lens
Blog: https://thenumismaticae.blogspot.com/
Insta: https://www.instagram.com/thenumismaticae/
Twitter: https://twitter.com/thenumismaticae/
I just tried with Chrome and saw the memory use go up and down by large amounts with a search results page with no activity. I've seen the same up-and-down with Firefox.
Quote: "Chatterjee_Soubhik"​I feel this too... Often I open up a firefox tab to add a new banknote or so, and read on it on another tab. When I return back, the tab seem to be frozen and doesn't respond for quite sometime... The numista pages take up a lot of memory when left alone over time.
​Ditto. I've had the same issue
Status changed to Started (Xavier, 6-Nov-2020, 04:24 pm)
Hello,
I made some adjustments (only with the new design). Could you please advise whether you still experience the same issue?
Quote: "Xavier"I made some adjustments (only with the new design). Could you please advise whether you still experience the same issue?

​Thank you for maintaining and improving the site.

It looks like there is still a memory problem. I left three Numista search results tabs for about three hours and there was roughly a 20% increase in memory usage. Usage is volatile, it can go up and down 5% in a minute, but there is a clear upward trend.

This is just memory use for numista.com. The memory usage for the iframes shown on Numista and for my other browsing isn't included.

I'm running the nightly build of Firefox with a new feature, about:processes, which gives the memory use for each process, and I've enabled an experimental feature that puts each domain in a separate process. That lets me directly monitor the memory usage of numista.com instead of looking at the overall Firefox usage and guessing how much is Numista. I believe about:processes will ship and users will be able to enable site isolation in Firefox 84 on December 15th. about:processes didn't give this much detail when I started this thread.
Could you please more details about what you observe as memory consumption and which flag you activated for monitoring?
Please also confirm whether you are testing with the old design or the new design.

I did a test by looking at about:performances in Firefox, and the memory consumption looks quite low even after 3 hours.
I am testing with the new design of Numista. I see memory increases in both Firefox and Chrome.

My actual Firefox memory numbers don't represent real-world consumption as I'm running a testing build designed to look for Firefox memory leaks which results in a much higher memory use.[1]

Site isolation in Firefox is Project Fission.[2] It is expected it will be possible to enable it in the release version of Firefox in December, and about:processes will be in the release version as well at that time.

Unfortunately about:performance in Firefox doesn't correctly allocate all memory usage to the correct site, but running each site in a separate process does.

To test in Chrome you can use the Task Manager (Menu / More tools / Task manager). What I am seeing is memory use goes generally up for a minute or so, gaining 5-7 MB, and the drops all but a fraction of a MB. Over about a half hour the base went from around 93MB to around 109MB. (I'm actually using Chromium on Linux.)

At 16:32:


At 17:04:


The 17:04 is near the high point of the cycle, but I haven't seen it below 110MB for the last 15 minutes.

[1] https://firefox-source-docs.mozilla.org/tools/sanitizer/asan_nightly.html
[2] https://wiki.mozilla.org/Project_Fission#Enabling_Fission
To be clear: With Chrome I didn't run multiple searches. I just ran one search and let the page sit without interaction.

Used time zone is UTC+2:00.
Current time is 06:19 pm.