파폭 12 메모리 사용량 3.4기가...

Mozilla Firefox 사용에 대한 일반적인 질문과 답을 해 주는 게시판입니다. 질문을 하기 전에 FAQ를 읽어 보시는게 도움이 될 것입니다.
Post Reply
ksh

파폭 12 메모리 사용량 3.4기가...

Post by ksh »

11버전까지 이렇지 않았는데 12 정식 사용하면서
구글 이미지 검색이라던지(수많은 이미지가 로딩되는) 각종 이미지들
나열되는 사이트들 돌아다니다보니 어느순간부터 느려지는게 느껴져서
확인해보니 메모리 사용량이 막 끝없이 올라가네요.
4기가정도까지 사용하는걸 봤는데...
메모리 누수 버그가 있는건지요?

어차피 메모리 8기가라 많이 먹는건 상관없는데
느려지기까지 하니 문제에요.
soumynona
도우미
도우미
Posts: 206
Joined: 2007 11 17 10:56 14
Contact:

Re: 파폭 12 메모리 사용량 3.4기가...

Post by soumynona »

저는 Firefox 초기 구동 시 메모리 사용량(첫 화면 about:blank) 200MB 정도 됩니다.

좀 빡세게 테스트 해 보고자... 특정 포르노 사이트 들어가서 그쪽의 모든 링크(623개)를 열고 로딩이 다 끝나기를 기다려 하나씩 탭을 다 들어가 본 후 메모리 사용량을 보니 약 3GB 정도 되었습니다.

그 다음 624개 탭을 모두 닫은 후 1분 후에 Firefox 메모리 사용량은 770MB 정도 되었습니다.

Flash Player는 끄고 진행했는데, 페이지마다 배치된 야동이 너무 많아서 그런 건지 plugin-container.exe 메모리 사용량이 끝없이 올라가다가 프로세스가 닫히고, 또 생겼다가 메모리 폭발하다가 닫히고 하는 바람에 테스트하기 어려워 끄고 진행했습니다.

일반적인 상황에서 Firefox가 메모리를 4GB 정도까지 사용하는 건 좀 이상한 것 같습니다. 누수 상황이라고 의심될 때 about:memory?verbose에서 대충 어느 게 문제인지 찾을 수 있는 것 같으니 한번 테스트 해 보세요.

https://developer.mozilla.org/en/Zombie_Compartments

In Firefox 12 and earlier:

Restart the browser.
Open the page that you think might cause a zombie compartment.
Open about:memory?verbose in another tab to confirm that the relevant compartment is present.
Close the first page.
Return to about:memory?verbose and hit the "minimize memory usage" button near the bottom. This forces garbage collection and cycle collection to happen, which will destroy compartments if possible. It might be worth hitting the button multiple times just to be sure. about:memory?verbose will update each time you press the button.
If the compartment is still present in about:memory?verbose, that's very suspicious. You could try waiting 20 minutes or so, then hit "minimize memory usage" again. Some zombie compartments stick around for a limited time before disappearing, others are immortal, and it's useful to know which is which.
Some Zombie Compartments are caused by add-ons. If you have add-ons enabled, please try to reproduce in safe mode, which disables them. If you can identify, by disabling them one at a time, a single add-on that is responsible, that is extremely helpful.
If you're confident you've found a zombie compartment, please file a bug that includes all the information you've gathered, add “[MemShrink]” to its whiteboard, and mark it as blocking bug 668871. Attaching the full contents of about:compartments is very helpful (and you can just cut and paste the page contents, there's no need to take a screenshot). See bug 669545 for an example. If the zombie compartment is caused by an add-on, please mark the bug as also blocking bug 700547.

It really is best to follow these instructions. In particular, if you have multiple tabs open it's easy to mis-identify whether a compartment should still be alive. If you only have about:compartments or about:memory?verbose open things are much simpler.
Post Reply

Who is online

Users browsing this forum: Bing [Bot] and 0 guests