TE
科技回声
首页24小时热榜最新最佳问答展示工作
GitHubTwitter
首页

科技回声

基于 Next.js 构建的科技新闻平台,提供全球科技新闻和讨论内容。

GitHubTwitter

首页

首页最新最佳问答展示工作

资源链接

HackerNews API原版 HackerNewsNext.js

© 2025 科技回声. 版权所有。

Ask HN: Is there a modern browser that doesn't gobble memory?

10 点作者 talos将近 9 年前
On a Mac. Both Chrome and Firefox invariably over a day of browsing accumulate oodles of memory and must be quit and reopened. Closing every window hilariously leaves this situation:<p>https:&#x2F;&#x2F;i.imgur.com&#x2F;jZNoC0I.png<p>Zero windows, 3.5GB of memory used. Sitting around, it&#x27;s not as if that memory gets cleaned up.<p>The frustrating part is trying to be &quot;good&quot; and not have hundreds of tabs open at any point doesn&#x27;t seem to help -- the memory still piles up, eventually driving the responsiveness of the entire system into the shitter.

6 条评论

nameless912将近 9 年前
Not really, and here&#x27;s why:<p>CNN loads something like 10 megabytes of resources when you open the front page. That&#x27;s just code and images; all that code has to be parsed, JITed, built into the DOM, etc. and all of that requires exponential-ish (not scientific, but it feels right) more memory than the code itself. All those images have to be unzipped into pixel buffers and painted on screen.<p>Even assuming your browser could do all of these things right every time, look at how many goddamn standards the browser has to support; many of those features have to be loaded hot and ready to go to improve apparent performance, and those features require a nonzero memory overhead as well. So, in the end, in order for your browser to do anything useful it has to snort memory like a coke addict.
评论 #12129105 未加载
评论 #12127471 未加载
Sylos将近 9 年前
Doesn&#x27;t sound to me like it&#x27;s an inherent problem to the browsers, but rather that you&#x27;d just need to troubleshoot what&#x27;s causing the RAM usage.<p>I have no idea about Chrome, but in Firefox you can get a detailed breakdown of what&#x27;s using RAM by typing &quot;about:memory&quot; into the URL-bar and hitting enter. Then click on the &quot;Measure&quot;-button to the left.<p>There&#x27;s also a few buttons on that page to enforce a memory clean-up, so maybe you can try those instead of restarting Firefox next time, if you can&#x27;t find a solution.<p><i>Usually</i>, memory usage like that is caused by some faulty extension, so that&#x27;s what you should look out for.<p>You could also try, if it doesn&#x27;t happen anymore in a fresh profile: <a href="https:&#x2F;&#x2F;support.mozilla.org&#x2F;en-US&#x2F;kb&#x2F;profile-manager-create-and-remove-firefox-profiles" rel="nofollow">https:&#x2F;&#x2F;support.mozilla.org&#x2F;en-US&#x2F;kb&#x2F;profile-manager-create-...</a>
评论 #12129091 未加载
dangrossman将近 9 年前
<a href="http:&#x2F;&#x2F;i.imgur.com&#x2F;Q39iHmB.png" rel="nofollow">http:&#x2F;&#x2F;i.imgur.com&#x2F;Q39iHmB.png</a>
scholia将近 9 年前
On a Mac, as far as I know, Safari uses the smallest amount of memory. (It&#x27;s the only browser I&#x27;ve used on OS X for a while.)<p>I&#x27;m surprised to see Firefox taking up 3.5GB of RAM. On my Windows 7 PC, it takes about 1GB after a day&#x27;s browsing (without Flash). I usually have 80-100 tabs but only 15-20 are actually open. It&#x27;s fine unless Flash goes ape and eats 2GB of RAM for no reason.<p>I also use Vivaldi and Opera on Windows 7. Both are based on Chromium and both consume more RAM than Firefox. Vivaldi does &quot;lazy loading&quot; so it only loads tabs when you click on them, whereas Opera still tries to load everything.)
评论 #12129113 未加载
评论 #12133956 未加载
imauld将近 9 年前
Haven&#x27;t experimented with it much but it claims to be more performant:<p><a href="https:&#x2F;&#x2F;brave.com&#x2F;" rel="nofollow">https:&#x2F;&#x2F;brave.com&#x2F;</a>
Khelavaster将近 9 年前
Try out Opera. Vivaldi&#x27;s not bad either, but has some stability issue still.