Sukhbir Singh

One Day, I Am Gonna Grow Wings, A Chemical Reaction. Hysterical And Useless . . .

Archive for the ‘Internet’ Category

Reducing Firefox Memory Usage

with 7 comments

Mozilla Firefox is slowly becoming the de facto web browser – making people finally realize that IE is pathetic. On a personal level, almost all of my sane friends use Firefox (thanks to me!) . This post deals with the memory leak problem in Firefox (what a memory leak is; explained further)

Programmers are familiar with the term memory leak. For others, memory leak is un-intentional memory consumption by the program wherein it fails to release memory no longer needed. Think of it like this – whenever you run a software, a specific amount of memory is allocated to it. Since we are dealing with Firefox, let us concentrate on that. When you open Firefox assuming an empty page, it takes up some amount of memory to load the interface. Next, supposing you open Gmail. The memory consumption increases (cause of Gmail). After that you sign out of Gmail and once again return to an empty page. If Firefox is still consuming the same amount of memory it was when Gmail was open – this is a memory leak. Gmail is no longer loaded but Firefox has failed to release the memory it allocated. This way the leaked-out memory keeps on increasing and hence slows down your computer if you have less RAM. (Programmers: memory leak does not mean that the memory is physically lost, it means that the program logic can’t access the memory due to faulty code)

“To check how much memory Firefox is using:”

Right click on the Taskbar and choose Task Manager. Now choose the Processes tab. Look for firefox.exe And note down the memory usage.

Typically, if you have no open windows or tabs (a blank page; which can also be brought about by typing about:blank in the address bar), Firefox should not consume more than 50 MB of memory. Anything more than this and means memory has already leaked out. (just a sentence!) Time for action.

1. The easiest solution is to restart Firefox. This will bring the memory back to a level it should actually consume.

2. Many a times, the themes and extensions cause a memory problems. The way to check this is to start Firefox in safe mode. To do this, go to Start > Run. Enter:

firefox -safe-mode

Press Enter. This starts Firefox in safe mode. Now check the memory usage after using it for sometime. If memory allocated decreases dramatically, means that the themes or the extensions are causing problems. Using the default theme or updating that extension might help.

3. Clearing the Firefox cache might help. To do this, press Ctrl + Shift + Del in succession.

4. Another method to cure the memory leak problem. Click here. (For advanced users only)

The ironical thing is that the Mozilla guys have done nothing to resolve this issue. For most people the easiest way out is method number one. Restarting Firefox.

Advanced people who know how to mess around with about:config, check the link in point 4.

Firefox rocks. Except the memory problem and loosing bookmarks! :D

Written by Sukhbir

January 25, 2007 at 6:07 pm

Embedding YouTube Videos

with 17 comments

This post is specially for F Ahmad {www.punjaban.wordpress.com}, a mysterious Punjabi!

A simple and nice explanation on how to embed videos from Youtube.com on your WordPress blog.

First, head over to youtube.com and browse to the video of your choice. Next, copy the URL (the address) {can be found under the 'About Video' column or the address field of your browser}

{For example: http://www.youtube.com/watch?v=5ii_ewMk5X8}

Then, in your post editor, simple write:

Taking the above example:

That is all! Enjoy!

Written by Sukhbir

June 18, 2006 at 5:52 pm

Run Multiple Instances of GTalk

with 12 comments

If you've got many Gmail accounts and don't want to keep logging on and off them every time you switch, a simple command line parameter in the Google Talk shortcut can solve your problem.

  • First, create one copy of the Google Talk shortcut on your desktop – leave the original intact.
  • Right click on this shortcut and choose Properties. The Target box will show you the path of the EXE for Google Talk – something like "C:\Program Files\Google\Google Talk\googletalk.exe"
  • Change this to: "C:\Program Files\Google\Google Talk\googletalk.exe" /nomutex
    and click OK.

{ FOR SCREENSHOT, CLICK HERE }

You will now be able to run multiple instances of Google Talk with different identities for each.

Written by Sukhbir

May 26, 2006 at 8:00 pm

Why Google rocks

with 9 comments

1. Search Engine – Google is without doubt the best search engine. No matter how much Microsoft (MSN) or Yahoo! try to match up with it, they will never succeed. What Google can ‘crawl’ and hence display; no search engine can. And never will.

2. Mail – Now this one is easy to understand. Gmail offers 2600MB space (and counting), offers free POP access, has a great interface and now has chat. Yahoo! also has 1000MB space; it fails on other things. I don’t even want to talk about Hotmail. It stinks.

3. Blogging – Blogspot is for me the next best alternative to WordPress. Although both serve their purpose; the coolest thing for me on Blogspot is the feature to include AdSense on the site. This is something that WordPress should really offer. I mean, its almost necessary.

4. Desktop Search – The desktop search is not only confined to searching for files, it includes a host of many other features. Copernic Desktop Search is the next alternative, at least for me.

Written by Sukhbir

March 4, 2006 at 3:57 pm

Hey!

with 12 comments


Now even Albert Einstein is endorsing for my blog! :D

Written by Sukhbir

February 25, 2006 at 7:27 pm

Google PageRank

with 7 comments

I just noticed that the Google PageRank for my blog has gone up to 4/10! Earlier it was a big zero, but now I think that 4/10 rating is a lot better since even the top blog on WordPress has got 7/10. And I am nowhere even near the fastest growing blogs. How Google PageRank works is of course something that I am not aware about, yet it is good for me!

Microsoft.com has a PageRank of 9/10 while Macromedia.com has got a 10/10. Wow!

What does this PageRank indicate? I am not sure. It is way too much complex.

Written by Sukhbir

February 23, 2006 at 7:30 am

Opening multiple webpage tabs on Firefox startup

with 14 comments

Here is how to open multiple websites (tabular form) automatically when Firefox starts up. I think it is pretty useful.
Procedure:

1. Start Firefox and click on Tools menu and then choose Options.
2. Click on the General tab.
3. Click on the text box in front of the Homepage – Location(s) group. (screenshot)

[CLICK HERE TO VIEW SCREENSHOT] {opens in new window}

4. Type the address of the webpage you want to load when Firefox startups. To enter multiple webpages, seperate them using the vertical bar | (SHIFT+\) Add as many webpages as you want.

EXAMPLE: To open Google.com and Gmail.com on startup, type:

www.google.com | www.gmail.com

(see screenshot)
Alternative (Better):

Load all the favourite pages in seperate tabs. Then choose:

Tools> Options> General Tab> Homepage – Locations(s) > Use Current Page

Using this, Firefox will load all the current open pages on startup.

UPDATED (Thanks to Aqeel):

You can also use SessionSaver, a Firefox extension that takes care of a lot of other things also. Highly recommended.

Written by Sukhbir

February 13, 2006 at 6:19 am

Instant Messaging Via Web Browser

with one comment

Seems impossible? Well, it is true.

[ www.meebo.com ]

Written by Sukhbir

February 1, 2006 at 3:00 pm

Posted in Computing, Internet

Mozilla Firefox Easter Eggs (Works!)

with 3 comments

Here is a collected list of easter eggs present in Firefox. Check them out!

Type exactly as they are. New line means a new egg :-?

Some of these are settings for Firefox. IT IS NOT RECOMMENDED THAT YOU CHANGE THEM.

– Easter Eggs –

about:
about:config
about:cache
about:buildconfig
about:credits
about:mozilla


Written by Sukhbir

January 30, 2006 at 8:57 am

Posted in Easter Eggs, Fun!, Internet

How to Access Blocked Websites

with 5 comments

This is not working. If anyone has any explanation, please put it in the comments section

Visit: www.proxywiz.com
It works!
Read the rest of this entry »

Written by Sukhbir

January 28, 2006 at 11:10 am