Is there a limit to # of tabs open at same time

Users and developers helping users with generic and technical Pale Moon issues on all operating systems.
Please direct questions that are Mac or Linux-specific (dealing with installation and OS integration) to the appropriate Linux or Mac board.

Moderator: trava90

Forum rules
This board is for technical/general usage questions and troubleshooting for the Pale Moon browser only. The main focus here is on Pale Moon on Windows. Please direct your questions that are specific for Linux and Mac to the dedicated boards for those operating systems.
Technical issues and questions not related to the Pale Moon browser should be posted in other boards!
Please keep off-topic and general discussion out of this board, thank you!
Locked
jbclem

Is there a limit to # of tabs open at same time

Post by jbclem » 2015-01-29, 22:32

I typically have 4-5 windows open with about 80-100 tabs total. On one of my computers Palemoon will always crash after a certain amount of time. It's not using up all my RAM, but the RAM used by Palemoon is between 1000-1800K. It just won't stay running past a certain point.

Firefox would often lock up, with 99% cpu usage, after a while with that many tabs open, but never crashed. Palemoon will lock up the same way if I have many news websites open (such as NYTimes, LATimes, CNN.com, etc...) but without the news websites it can cruise along using low amounts of %cpu but then just crash (disappear from the screen). Sometimes horizontal scrolling will also trigger very high cpu% usage and after being locked up for a few minutes Palemoon will crash.

Is there a tab limit beyond which Palemoon just won't function after a while?

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29251
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Is there a limit to # of tabs open at same time

Post by Moonchild » 2015-01-30, 00:22

If you open 400-500 tabs, you can expect Pale Moon to start running into issues, especially the 32-bit version that is limited to its address space and number of elements/containers by the 32-bit limit (which is a pretty hard limit). Even if overall memory usage is not the theoretical 3.2GB limit, you will still run into out-of-memory situations internally. Also, keep in mind that background tabs still use processing power, memory, video memory and other resources. A "silent crash to desktop" usually indicates that the session manager or places database (holding your history) got in a confused state, possibly because of a session save to disk taking too much time (how large is your sessionstore.js in your profile folder? I'm just curious...)

The limit to the number of tabs depends a lot on different factors: How many site you have opened, which sites you have opened, if you are using x86 or x64, if you are using extensions and if so which ones, the level of fragmentation of your memory (from other applications or continued use of the browser) etc. There is no hard figure, apart from "as much as your resources allow".

It's simply not designed to handle that many active and transient documents open at the time, all the time. I don't really understand how you can work with that many tabs open -- unless you are really just wanting to bookmark them, instead? ;) (hint: use bookmarks in that case...)

As a mitigation, use an extension that unloads tabs after a while, like BarTab Heavy.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

jbclem

Re: Is there a limit to # of tabs open at same time

Post by jbclem » 2015-02-01, 10:46

I checked the sessionstore.js on my two computers (both WinXP), the one with the 80 tabs open has a size of aprox 1,847,000 right now, the other one is 1,165,000 aprox.

On the second computer (1,165,000) Palemoon crashed quickly(less than 1 hour) yesterday with only 10 tabs open, they were mostly news sites (NYTimes, LATimes, CNN, Marketwatch, Investors.com, wunderground.com, guardian.com, dailytelegraph.com, bbc.com, sfgate.com). The same computer has been running today for many hours with 25 tabs open(no news sites), no crashing problem.

Would there be any harm in deleting a sessionstore.js file? Will Palemoon just create a new one...and I have the Session Manager add-on so I wouldn't be worried about losing any sessions, although I don't really know what sessionstore.js does.

I see one of my places.sqlite files is 21mb in size, is that large enough to create a problem? Extensions I'm using are: Adblock Plus, Better Privacy, DuckDuckGo Plus, Element Hiding Helper or Adblock Plus, Ghostery, Load Control, Memory Restart, NoSquint, Session Manager, Stylish, TabMixPlus.

I'm using Palemoon 24.7 (so I can run Adblock Plus), and 20.x on the other computer.

Many of the tabs I keep open are passive (as far as I can tell), but that's the best way I have to keep track of current interests/trains of thought. When I finish up a train of thought, then I bookmark the tabs or bundle and save them as sessions.

I just bought a quad core computer hoping that it might help this problem...which, more than the crashing, is the very high cpu% caused by so many tabs and the subsequent paralyzing of the computer. As I'm sure you know, this didn't make much difference. And that begs the question, do you have any plans to design Palemoon to work with multiple cores. There are others who keep large numbers of tabs open and it would make Palemoon really stand out if it would allow groups of tabs to be placed under the aegis of different cores.

Thanks for your help.

User avatar
x-15a2
Keeps coming back
Keeps coming back
Posts: 825
Joined: 2014-03-19, 00:28
Location: Triskelion

Re: Is there a limit to # of tabs open at same time

Post by x-15a2 » 2015-02-01, 12:11

I'm using Palemoon 24.7 (so I can run Adblock Plus), and 20.x on the other computer
Why not 25.2 and Adblock Latitude? That way the devs can help you with current code sets.

User avatar
Moonchild
Pale Moon guru
Pale Moon guru
Posts: 29251
Joined: 2011-08-28, 17:27
Location: Tranås, SE
Contact:

Re: Is there a limit to # of tabs open at same time

Post by Moonchild » 2015-02-01, 13:03

You'll have to forgive me for not providing extensive support for archived versions anymore. As much as I'd like to, it's just not feasible to do. Especially running v20.* will have you with a fairly large number of known issues that aren't solved.

News sites are often "leaky" if you leave them open because they constantly refresh their content. If you leave them open (without unloading) for hours on end, many will accumulate dead resources that aren't properly released. As said, using a tab unloader extension may be a good idea; it will just "deactivate" the tab until you re-visit it, and then automatically refresh to the latest version.

As for sessionstore: yes, you can just delete it (when Pale Moon is closed) and it will be regenerated -- you will lose your stored open session tabs and windows when you do this, so Pale Moon will start next time with just your home page.
"Son, in life you do not fight battles because you expect to win, you fight them merely because they need to be fought." -- Snagglepuss
Image

jumba

Re: Is there a limit to # of tabs open at same time

Post by jumba » 2015-02-01, 13:21

Adblock is a big memory hog for heavy tab users,
http://www.extremetech.com/computing/18 ... emory-hogs

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8885
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Is there a limit to # of tabs open at same time

Post by New Tobin Paradigm » 2015-02-01, 14:05

jumba wrote:Adblock is a big memory hog for heavy tab users,
http://www.extremetech.com/computing/18 ... emory-hogs

Working on that ;) http://forum.palemoon.org/viewtopic.php ... 130#p46905
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

jbclem

Re: Is there a limit to # of tabs open at same time

Post by jbclem » 2015-02-05, 11:12

I tried disabling Adblock Plus, but that didn't make any difference. I deleted it but even on the computer with only about 10 newsites running, Palemoon still crashed after a while.

I've also installed Palemoon 25.2 and Adblock Latitude. If I could only get the Adblock icon to show up somewhere, that would be a solution. But I've tried to set the icon for any of the three possible locations, and the setting(s) just won't take for me.

I usually don't like to use the latest version of any program, but I really appreciate the idea of Palemoon and would run 25.2 if I could just get the Adblock Latitude icon to show up somewhere so I can control it's workings.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8885
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Is there a limit to # of tabs open at same time

Post by New Tobin Paradigm » 2015-02-05, 11:26

The options in add-on manager are a little broken. I believe it has to do with the code that it recognizes as the Status bar and gets confused. This is just unnecessary code anyway and will be removed in later versions. Just use toolbar customize. By default it is placed on the Add-on/Status bar if it isn't there then it SHOULD be in the pallet window. You can drag it anywhere you want.
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

User avatar
Night Wing
Knows the dark side
Knows the dark side
Posts: 4470
Joined: 2011-10-03, 10:19
Location: Texas, USA

Re: Is there a limit to # of tabs open at same time

Post by Night Wing » 2015-02-05, 13:25

jbclem wrote:I usually don't like to use the latest version of any program, but I really appreciate the idea of Palemoon and would run 25.2 if I could just get the Adblock Latitude icon to show up somewhere so I can control it's workings.
When I first installed Adblock Latitude, the icon for it showed up in the very far left corner of the Status Bar at the bottom of my monitor. Since I prefer the icon to the right of my Navigation/Address Bar, I right clicked on an empty next to the word "Help" in the Menu Bar to get the window which has the word Customize in it to show up. After left clicking on the word Customize, then I left clicked on the ABL icon while also holding down the button on my mouse to drag it to the right of my Navigation/Address Bar and then let go. The ABL icon stays. Then I close the Customize box. This works for me in (25.2.1).
Linux Mint 20.1 (Ulyssa) Xfce 64 Bit with 64 Bit linux Pale Moon

jbclem

Re: Is there a limit to # of tabs open at same time

Post by jbclem » 2015-02-06, 10:43

I don't have the icon in the lower left Status Bar area, and it's also not visible in the Customize Pallet screen. I'm using WinXP, could this have something to do with this problem? The Adblock Plus icon is always visible in the upper right side of the screen, in v24.7 that is.

User avatar
New Tobin Paradigm
Knows the dark side
Knows the dark side
Posts: 8885
Joined: 2012-10-09, 19:37
Location: Seriphia Galaxy

Re: Is there a limit to # of tabs open at same time

Post by New Tobin Paradigm » 2015-02-06, 11:09

Ok.. I am confused. What version of Pale Moon are you using right now with Adblock Latitude.
How far are you prepared to go? How much are you prepared to risk? How many people are you prepared to sacrifice for victory?
Are you willing to die friendless, alone, deserted by everyone? Because that's what may be required of you in the war that is to come.

Image

jbclem

Re: Is there a limit to # of tabs open at same time

Post by jbclem » 2015-02-06, 22:31

Palemoon v25.2.1

Locked