NS 7.1 Resource leak

Firefox, Thunderbird, SeaMonkey, Camino, Mozilla, Netscape 6/7/8/9, and all Gecko-based browsers discussion and support forum.
(MozInfo701, Netscape Browser Archive)

Moderators: Fulvio, profman, Ramona, Antony, Edward

NS 7.1 Resource leak

Postby jpChris » Sat 20 Sep, 2003 11:04 pm

Hi,

I've noticed that NS 7.1 is running slower (taking longer to load pages) than my previous version (4.8) and (shudder) IE6.

I've read the article about "Resource Leak" and tried to access the "browser.cache.memory.capacity" line in about:config, but it's not there. In mine the only listing I have is, "browser.cache.disk.capacity". I also noticed that the article mentioned that "browser.cache.memory.capacity" shouldn't be there.

So, my questions are: How do I set the cache memory? Do I need to? Is the cache memory the reason for the slowness?

Thank you.
Chris

Added by Admin,
the NS 7.1 Resource Leak thread.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax; CDonDemand-Dom)
User avatar
jpChris
super member
super member
 
Posts: 150
Joined: Thu 28 Aug, 2003 1:05 pm
Location: North Hollyweird, California

Re: NS 7.1 Resource leak

Postby Fulvio » Sat 20 Sep, 2003 11:25 pm

jpChris wrote:Hi,

I've noticed that NS 7.1 is running slower (taking longer to load pages) than my previous version (4.8) and (shudder) IE6.

I've read the article about "Resource Leak" and tried to access the "browser.cache.memory.capacity" line in about:config, but it's not there. In mine the only listing I have is, "browser.cache.disk.capacity". I also noticed that the article mentioned that "browser.cache.memory.capacity" shouldn't be there.

So, my questions are: How do I set the cache memory? Do I need to? Is the cache memory the reason for the slowness?

Thank you.
Chris


I looked at a thread in the Sticky area, about this topic. You can read it if you wish, but it is more confusing than not.
The safest way is to create a text file in your .slt folder (right click|new|
Text document. Rename it user.js Then, right click|open with Notepad. type this: [tt]user_pref("browser.cache.memory.capacity", xxxx);[/tt] You can start with [tt]4096[/tt] in place of [tt]xxxx[/tt]. I was using [tt]2048[/tt] for 128MB memory
And File|Save. This value will override what you have now, and should maintain the % resources. Make sure that you empty the Cache, and if you have at least 256 MB, and not too many other programs open, you should be ok. NS7.1 is not slower than IE6, but will come to a grinding halt, if nothing is done about this leak.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) (CK-SillyDog)
A minority may be right, and a majority is always wrong
~ Henrik Ibsen
WinXP, SP3, 512 MB, SM2.17.1, FF21, TB17.O.5, IE8.0, Google Chrome 26, Ghostwall , Kingsoft5.6, JRE1.7_21.
User avatar
Fulvio
Moderator
Moderator
 
Posts: 12000
Joined: Wed 19 Jun, 2002 10:08 am

Postby Ramona » Sat 20 Sep, 2003 11:47 pm

jpchris,

The workaround tells you exactly how to add the preference in about:config. You may have missed it, so here it is in bold type:

Browse to about:config (clear the Location Bar and type: about:config)
Scroll down and look for browser.cache.memory.capacity
It shouldn't be there, but if it IS:
Right click
Select: "Modify" and change to 1024
Skip the next step

The above instructions are only IF the script is listed. Below is how to add the script as NEW:

Right click anywhere on the page
Select: NEW
Select: INTEGER
Type in: browser.cache.memory.capacity
Click OK
For INTEGER VALUE: Type in 1024
Click OK
Restart Netscape (or Mozilla)


If you have a large amount of RAM I would suggest using 1024 for the Integer Value, rather than 2048, or 4096. If no joy, then increase to 2048.
The Resource Leak Web page: http://home.att.net/~cherokee67/ns71resrcleak.html
lists a Show 'N Tell on adding or editing Preferences in about:config:
http://www.mozillazine.org/misc/about:config/


Re: adding the memCache setting to the user.js, I disagree with Fulvio, for these reasons:
Setting memory cache by adding the script in the user.js file locks out making permanent changes via the UI (user interface) or, in about:config. These settings are profile spefic - not global - as it is if added to a *.js file.

In Netscape 7, If you set memory.cache.capacity in the user.js file you can change it via the UI: Edit | Preferences | Advanced | Cache. However, the user.js file will override every time you restart 7. The setting will be retained for the session, but not from a re-start. In effect this will preclude any changes you make in about:config from becoming a permanent change, which normally takes effect AND is written to the prefs.js on exit.
captjlddavis

The resource leak could very well be the reason for the slowdown, however, if resetting the memCache value doesn't solve the issue, then you will need to look elsewhere.

Ramona :D


Edited for a more precise workaround guideline - per member request
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5b) Gecko/20030827
Last edited by Ramona on Mon 22 Sep, 2003 8:08 pm, edited 4 times in total.
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

Postby yankee1620 » Sun 21 Sep, 2003 6:36 am

In about:config, right clicking on browser.cache.memory.capacity , has no effect....it just remains highlighted with no action at all taking place....
None of what you describe takes place and there is no way to change anything as nothing comes up when right clicking on it.

What is wrong with it?
UserAgent: Mozilla/5.0 (Windows; U; Win 9x 4.90; en-US; rv:1.0.2) Gecko/20021120 Netscape/7.01 (CK-SillyDog)
yankee1620
silver member
silver member
 
Posts: 210
Joined: Mon 23 Dec, 2002 2:19 pm

Postby Ramona » Sun 21 Sep, 2003 3:37 pm

Hi Dixie,

This option was implemented in Version 7.02, and isn't available in Netscape 7.01. There's nothing "wrong" just not available to you. If you wish to implement the memCache setting, in Netscape 7.1, and reluctant to use the about:config, the preference can be added to your prefs.js file. You know the drill: back up the prefs.js file, then add:
user_pref("browser.cache.memory.capacity", 1024);

Try the 1024 setting first, run the Resource Meter located in:
Start | Programs | Accessories | System Tools
If your Resources are seriously decreased, then you can try the 2048 or 4096 setting. The more RAM you have, the lower you set the memCache.

Ramona :D
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.5b) Gecko/20030827
Last edited by Ramona on Sun 21 Sep, 2003 5:28 pm, edited 1 time in total.
User avatar
Ramona
Moderator
Moderator
 
Posts: 2376
Joined: Wed 19 Jun, 2002 3:50 pm
Location: Midwest USA

Postby yankee1620 » Sun 21 Sep, 2003 5:01 pm

Thanks Ramona...I have downloaded NS 7.1 but I have not installed it yet because of the resources problem.

I was trying the about:config on NS7.0......

Dixie
UserAgent: Mozilla/4.78 [en] (Win98; U)
yankee1620
silver member
silver member
 
Posts: 210
Joined: Mon 23 Dec, 2002 2:19 pm

Postby Hawk123 » Sun 21 Sep, 2003 10:03 pm

Is there any way to use N7.1 on Win 98? I am scared to try the fix, because if it does not work, I will have to uninstall it, reinstall N7.02, and hope I did not lose anything.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
Hawk123
junior member
junior member
 
Posts: 7
Joined: Tue 08 Jul, 2003 12:49 pm

Postby profman » Sun 21 Sep, 2003 10:51 pm

Hawk123 wrote:Is there any way to use N7.1 on Win 98? I am scared to try the fix, because if it does not work, I will have to uninstall it, reinstall N7.02, and hope I did not lose anything.


Backup your profile info (except for the cache) before you install NS 7.1 and again before you try to revert (if needed) back to NS 7.02, and you're fairly safe to experiment. Just visit Profiles Folder Location for Netscape 7.x.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02 (CK-profman)
profman, the mad chemist
Moderator of SillyDog Forums
User of Thunderbird 2.0.0.x & Firefox 3.x
Try Forum Search
User avatar
profman
Moderator
Moderator
 
Posts: 1531
Joined: Wed 11 Sep, 2002 8:00 pm

Low Resources

Postby leea » Mon 22 Sep, 2003 7:30 am

Ramona I tried your advice and it has worked for me!! Thanks very much! :)
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
leea
junior member
junior member
 
Posts: 6
Joined: Sun 31 Aug, 2003 2:35 pm

Postby Hawk123 » Mon 22 Sep, 2003 8:41 am

I tried adding the line and setting it to 4086, and the resources still leak. I really like N7.1, but if this continues, I will be forced to go back to N7.02.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.0.2) Gecko/20030208 Netscape/7.02
Hawk123
junior member
junior member
 
Posts: 7
Joined: Tue 08 Jul, 2003 12:49 pm

Postby Fulvio » Mon 22 Sep, 2003 11:38 am

Hawk123 wrote:I tried adding the line and setting it to 4086, and the resources still leak. I really like N7.1, but if this continues, I will be forced to go back to N7.02.


I set mine to 1024, and I have only 256 MB, and, the resource meter has not budged with Navigator only open. Mail has a slight effect.
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) (CK-SillyDog)
A minority may be right, and a majority is always wrong
~ Henrik Ibsen
WinXP, SP3, 512 MB, SM2.17.1, FF21, TB17.O.5, IE8.0, Google Chrome 26, Ghostwall , Kingsoft5.6, JRE1.7_21.
User avatar
Fulvio
Moderator
Moderator
 
Posts: 12000
Joined: Wed 19 Jun, 2002 10:08 am

Postby Hawk123 » Mon 22 Sep, 2003 12:42 pm

Greta News!!! The reason why N7.1 was not working with the fix is because I had installed the version from Netscape, NOT Sillydog's version. I put the fix in and now the resources don't go under 74%. Thanks everyone for your help. :D
UserAgent: Mozilla/5.0 (Windows; U; Win98; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax) (CK-SillyDog)
Hawk123
junior member
junior member
 
Posts: 7
Joined: Tue 08 Jul, 2003 12:49 pm

Re: NS 7.1 Resource leak

Postby Don_HH2K » Sat 15 May, 2004 10:33 pm

jpChris wrote:Hi,

I've noticed that NS 7.1 is running slower (taking longer to load pages) than my previous version (4.8) and (shudder) IE6.

I've read the article about "Resource Leak" and tried to access the "browser.cache.memory.capacity" line in about:config, but it's not there. In mine the only listing I have is, "browser.cache.disk.capacity". I also noticed that the article mentioned that "browser.cache.memory.capacity" shouldn't be there.

So, my questions are: How do I set the cache memory? Do I need to? Is the cache memory the reason for the slowness?

Thank you.
Chris

Added by Admin,
the NS 7.1 Resource Leak thread.


It seems odd that NS7 loads pages faster than IE6 seeing that IE6 is built right into Windows...
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Postby Andrew T. » Sat 15 May, 2004 11:03 pm

dluchini30 wrote:It seems odd that NS7 loads pages faster than IE6 seeing that IE6 is built right into Windows...

Internet Explorer is quicker in load time than Netscape in Windows 98+/2000+ due to "web integration," but in page rendering speed the Gecko rendering engine present in Netscape 7.1 has a slight edge. :D

In any case to summarize, the resource leak notably affects adversely aspects of Netscape's speed including page rendering.
UserAgent: Mozilla/5.0 (Windows; U; Win95; en-US; rv:1.6) Gecko/20040206 Firefox/0.8
User avatar
Andrew T.
diamond member
diamond member
 
Posts: 1228
Joined: Fri 14 Mar, 2003 11:37 pm
Location: Somewhere beyond the sea

Postby Don_HH2K » Mon 24 May, 2004 6:05 pm

I recently found an interesting bug with Netscape 6.0_PR2. It turns out that I'm having the same problem on one of my 98 machines.
UserAgent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.4) Gecko/20030624 Netscape/7.1 (ax)
Laptop: HP Compaq nx6325 - Turion 64 X2 @ 2GHz, 2GB DDR2, 100GB HD, ATI Radeon X300, 15" LCD, Seven Pro
Handheld: Palm Treo 650 - Intel PXA270 @ 312MHz, 10MB RAM, 32MB flash, 2.7" LCD, Palm OS 5.4
User avatar
Don_HH2K
Moderator
Moderator
 
Posts: 5112
Joined: Sun 09 May, 2004 3:59 pm

Next

Return to Firefox, SeaMonkey and Netscape

Who is online

Registered users: Google [Bot]