Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Sessionstore.js Keeps Getting larger, and Firefox Gets Very Sluggish

772 views
Skip to first unread message

poster3814

unread,
Jan 6, 2012, 12:01:28 PM1/6/12
to
Sessionstore.js, Firefox's stored sessions file, keeps getting larger,
and Firefox gets very sluggish. Sessionstore.js doesn't appear to ever
get smaller on its own. On November 11, 2011, I must have started a new
session, and sessionstore.js was 1 KB. Four days ago on January 2nd, it
had grown to 17.9 MB, and the next day it was 18 MB.

What is causing this? How can I figure it out?

If I start a new session, Firefox isn't sluggish anymore, but not only
do I not want to lose all of my session data, I'm also very interested
in learning what's going on here. I don't want to be required to start a
new session and lose my session data every time I want to make Firefox
fast again, either.

I've noticed this for a while now with many final-release versions of
Firefox as well as Beta and some Aurora versions. The latest I've tried
are Firefox 9.0.1, Firefox 10.0 Beta 2 and Firefox Aurora 11.0a2
(2012-01-04).

How can I track down the cause? Is there a relatively easy way to scan
through an 18 MB sessionstore.js file to look for clues?

Thank you.

--
Please respond to the newsgroup only. Email sent to this account goes
unread.

goodwin

unread,
Jan 7, 2012, 8:48:14 AM1/7/12
to
type
about:sessionrestore
in URL bar to see whats there for starters...

saving a lot of sessions for next time is feeding water with a firehose
- not the best way to do things.

Je...@nospam.fake

unread,
Jan 7, 2012, 12:40:50 PM1/7/12
to
Just entered about:sessionrestore in my FF 9.0.1 and got the "This is
embarassing screen". If I go to Session restore backups I can see the,.
Why is that?

rebro

unread,
Jan 7, 2012, 1:24:23 PM1/7/12
to
The same here.
-rebro

goodwin

unread,
Jan 7, 2012, 1:31:13 PM1/7/12
to
you can see the what?

> Why is that?
>

assuming you are seeing content, I'd guess that is normal but it is only
saved in the event of a crash, IIUC. If is shows nothing in Firefox,
thats because everything is normal - While the OP mentioned this file, I
don't believe thats whats bothering him but I'll wait for him to come
back on this. I believe normal saved sessions are stored elsewhere.

goodwin

unread,
Jan 7, 2012, 2:38:34 PM1/7/12
to
I think I'm muddying waters here - sessionrestore and sessionstore are 2
different animals - sorry.

As far as the sluggish problem cited, I'd say its either a corrupt file
or simply a lot of tabs being opened - seems to me the latter would be
relatively obvious.


Cy Burnot

unread,
Jan 7, 2012, 3:03:17 PM1/7/12
to
goodwin has written on 1/7/2012 2:38 PM:
about:sessionstore gives me an invalid URL message!

Chris Ilias

unread,
Jan 7, 2012, 4:00:15 PM1/7/12
to
What makes you think that? :)

--
Chris Ilias <http://ilias.ca>
Mailing list/Newsgroup moderator

gla...@linuxuser.iam

unread,
Jan 7, 2012, 10:07:31 PM1/7/12
to

On 01/07/2012 07:38 PM, goodwin wrote:
<>

> I think I'm muddying waters here - sessionrestore and sessionstore are 2
> different animals - sorry.
>
> As far as the sluggish problem cited, I'd say its either a corrupt file
> or simply a lot of tabs being opened - seems to me the latter would be
> relatively obvious.
-=-

i was under impression that 'sessionrestore' used 'sessionstore.js' to
restore sessions. seems logical anyway.

--
peace out.

tc, hago.

walking the walk. long live tux.

g
.

*please reply "plain text" only. "html text" are deleted*

goodwin

unread,
Jan 8, 2012, 12:03:51 AM1/8/12
to
On 01/07/2012 07:07 PM, gla...@linuxuser.iam wrote:
>
> On 01/07/2012 07:38 PM, goodwin wrote:
> <>
>
>> I think I'm muddying waters here - sessionrestore and sessionstore are 2
>> different animals - sorry.
>>
>> As far as the sluggish problem cited, I'd say its either a corrupt file
>> or simply a lot of tabs being opened - seems to me the latter would be
>> relatively obvious.
> -=-
>
> i was under impression that 'sessionrestore' used 'sessionstore.js' to
> restore sessions. seems logical anyway.
>
just what the thread needs - some logic...

poster3814

unread,
Jan 8, 2012, 12:22:17 AM1/8/12
to
First, thanks everyone so much for your time and replies.

If I enter about:sessionrestore, I'm getting the message:

"Well, this is embarrassing.
"Aurora is having trouble recovering your windows and tabs. This is
usually caused by a recently opened web page,"

and there are no windows or tabs listed to restore, even though I still
have many of each open, and sessionstore.js is still 18 MB. Goodwin,
what you say seems to makes sense, that it's empty because everything is
normal, or rather that there wasn't a crash to restore from.

For what it's worth, I don't necessarily want so many windows and tabs
open, but I always end up working on many things and getting interrupted
to work on more things and having to switch back and forth. I can't be
the only one who has to work on so many things at once like that.

I, too, wonder if the cause could be a corrupt file, but I'd like to be
able to not have to lose all of that session data - to retrace so many
steps - so I wondered if there were a way to figure it out the cause
and/or "clean" the file or something. Oh, and regarding the cause being
a lot of tabs open, I do wonder about that, of course, but I do
regularly close windows and tabs, not just open them. The number of them
does go down, but sessionstore.js doesn't get smaller, it just keeps
getting larger anyway.

goodwin

unread,
Jan 8, 2012, 12:54:31 PM1/8/12
to
On 01/07/2012 09:22 PM, poster3814 wrote:
> On 1/8/2012 12:03 AM, goodwin wrote:
>> On 01/07/2012 07:07 PM, gla...@linuxuser.iam wrote:
>>>
>>> On 01/07/2012 07:38 PM, goodwin wrote:
>>>>
>>>> As far as the sluggish problem cited, I'd say its either a corrupt file
>>>> or simply a lot of tabs being opened - seems to me the latter would be
>>>> relatively obvious.
>>> -=-
>>>
>>> i was under impression that 'sessionrestore' used 'sessionstore.js' to
>>> restore sessions. seems logical anyway.
>>>

>
> If I enter about:sessionrestore, I'm getting the message:
>
> "Well, this is embarrassing.
> "Aurora is having trouble recovering your windows and tabs. This is
> usually caused by a recently opened web page,"
>

IMO that message is embarrassing - childish comes to mind

> and there are no windows or tabs listed to restore, even though I still
> have many of each open, and sessionstore.js is still 18 MB. Goodwin,
> what you say seems to makes sense, that it's empty because everything is
> normal, or rather that there wasn't a crash to restore from.

I haven't found any definitive documentation on this, though I didn't
look that far. I was hoping someone with knowledge of this file
structure would chime in but it seems no one has as of yet.
Visiting http://kb.mozillazine.org/Session_Restore may put you on a
trail for starters.


> I, too, wonder if the cause could be a corrupt file, but I'd like to be
> able to not have to lose all of that session data - to retrace so many
> steps - so I wondered if there were a way to figure it out the cause
> and/or "clean" the file or something. Oh, and regarding the cause being
> a lot of tabs open, I do wonder about that, of course, but I do
> regularly close windows and tabs, not just open them. The number of them
> does go down, but sessionstore.js doesn't get smaller, it just keeps
> getting larger anyway.
>
you may want to look at the knowledgebase linked above for uses of
tabbed browsing. I think groups of tabs may help you here.

goodwin

unread,
Jan 8, 2012, 12:57:52 PM1/8/12
to
On 01/07/2012 09:22 PM, poster3814 wrote:

> I, too, wonder if the cause could be a corrupt file, but I'd like to be
> able to not have to lose all of that session data - to retrace so many
> steps - so I wondered if there were a way to figure it out the cause
> and/or "clean" the file or something.

If you find previous post helpful, you may want to just start fresh by
deleting that sessionstore file - it will rebuild itself. There may be
a way to edit and save it but I'm not the one to help there at all.

Chris Ilias

unread,
Jan 8, 2012, 6:25:09 PM1/8/12
to
On 12-01-08 12:22 AM, poster3814 wrote:
> If I enter about:sessionrestore, I'm getting the message:
>
> "Well, this is embarrassing.
> "Aurora is having trouble recovering your windows and tabs. This is
> usually caused by a recently opened web page,"
>
> and there are no windows or tabs listed to restore, even though I still
> have many of each open, and sessionstore.js is still 18 MB. Goodwin,
> what you say seems to makes sense, that it's empty because everything is
> normal, or rather that there wasn't a crash to restore from.

The session restore page only intended to appear after a Firefox crash.
If you try to access it on your own mid-session, it will always list
nothing.
See <http://support.mozilla.org/en-US/kb/Session-Restore>.

> I, too, wonder if the cause could be a corrupt file, but I'd like to be
> able to not have to lose all of that session data - to retrace so many
> steps - so I wondered if there were a way to figure it out the cause
> and/or "clean" the file or something.

After doing some searching, it may be caused by a combination of
specific pages that add multiple entries in your browsing history and
setting your start page to restore tabs from your previous session. (bug
636066)

Good Guy

unread,
Jan 8, 2012, 7:31:49 PM1/8/12
to


poster3814 wrote:
> Sessionstore.js, Firefox's stored sessions file, keeps getting larger,
> and Firefox gets very sluggish.


Have you tried clearing the cache? To do this:

Tools >> Clear Recent History

Make sure you have selected "everything" in the tick boxes.

Another way is to delete everything from this link (assuming you are on
XP system)

<C:\Documents and Settings\USERNAME\Local Settings\Application
Data\Mozilla\Firefox\Profiles\kql3m06e.default\Cache>

Username is your own username and everything after Profiles\ will be
different in your case.

This should make sure there is no corrupted files in your cache to make
FF sluggish.

Good luck.

goodwin

unread,
Jan 8, 2012, 10:21:08 PM1/8/12
to
On 01/08/2012 03:25 PM, Chris Ilias wrote:

<snip>

> After doing some searching, it may be caused by a combination of
> specific pages that add multiple entries in your browsing history and
> setting your start page to restore tabs from your previous session. (bug
> 636066)

Chris, it would /really/ be helpful if you put this in language a normal
user can comprehend.

I know this is hard for you, but a try might be nice...

gla...@linuxuser.iam

unread,
Jan 8, 2012, 10:56:56 PM1/8/12
to

On 01/08/2012 05:03 AM, goodwin wrote:
<>

> just what the thread needs - some logic...

that it does.

as your link below supports my logic.


On 01/08/2012 05:54 PM, goodwin wrote:
<>

> I haven't found any definitive documentation on this, though I didn't
> look that far.
-=-

that is for sure. had you read all of page, you would have read of
the correlation of 'session restore' and sessionstore.js' file.

> I was hoping someone with knowledge of this file structure would chime
> in but it seems no one has as of yet.
-=-

no need. i already explained it.


> Visiting http://kb.mozillazine.org/Session_Restore may put you on a
> trail for starters.
-=-

trail nothing. it explains my logic. 8-P


as for making it smaller, that is easy. delete it when firefox is open.

kang...@gmail.com

unread,
Nov 9, 2012, 12:08:37 PM11/9/12
to
This big problem for me too is still existing
even after deleting as sugested while runnin this FF 16.0.2
The size was 583kb while runing and deleting it and quiting made new one 571kb.
Is there some setting like history rememberence time span as it was some time before some versions or something else could possibly make smaller sessionrestore?
0 new messages