Thread: Memory Leaks?
View Single Post
I leave my browser running for days, and have noticed OW using upward of 1GB of total memory at times, which I thought was a bit odd, so I decided to track it yesterday. Below is the output from top and it's clear that OW is slowly grabbing more and more memory.

I would expect OW's memory needs to grow as the number of pages I'd viewed increases due to caching etc. but I would also expect that cache to empty once in a while. I can see that if I open many pages and then close them again, it frees up most of the memory used, but it doesn't free it all and the net result is that it keeps munching away at memory.

Any ideas?

Code:
11:32 - 41785 OmniWeb  0.0%  0:01.24  14 144  335 9452K    12M    26M   393M - just opened, 0 tabs
11:33 - 41785 OmniWeb  2.1%  0:04.70  17 165  518   49M    15M    72M   479M - opened 8 tabs
11:34 - 41785 OmniWeb  0.0%  0:06.86  17 165  508   35M    12M    55M   461M - closed all 8 tabs
11:39 - 41785 OmniWeb  0.0%  0:06.87  17 165  482   35M  8864K    55M   412M - not used for 5 mins
11:40 - 41785 OmniWeb  2.1%  0:09.21  17 166  523   50M    12M    73M   431M - reopen same 8 tabs
11:41 - 41785 OmniWeb  0.0%  0:11.31  17 165  502   36M    11M    55M   413M - close all 8 tabs
11:42 - 41785 OmniWeb  0.1%  0:13.46  17 166  582   52M    12M    78M   442M - open different 8 tabs
11:43 - 41785 OmniWeb  0.0%  0:14.56  17 169  553   39M    11M    60M   422M - close 8 tabs
11:59 - 41785 OmniWeb  0.0%  0:14.58  17 169  537   39M    11M    60M   416M - unused for 13mins
12:00 - 41785 OmniWeb  0.0%  0:15.86  18 174  576   41M    11M    68M   426M
12:02 - 41785 OmniWeb  0.0%  0:18.53  18 175  590   41M    11M    70M   427M
13:37 - 41785 OmniWeb  0.0%  1:04.86  19 200  821   78M    18M   108M   473M 
16:17 - 41785 OmniWeb  0.0%  1:39.76  19 204  912   92M    18M   125M   493M - 2 tabs (unused since 1730)
07:58 - 41785 OmniWeb  0.0%  2:25.65  19 206  982  104M    17M   137M   509M