2014年9月27日星期六

Why Browser Crashes - How to fix Browser problems?


Browser crash issue happens a lot when a computer is getting older. It is easy to find that when a browser is about to freeze and crash, the CPU usage soars high to nearly 100%. While it is difficult to figure out what is the reason to give rise to browser crash when we resort to anti-virus program without any answer. People are accustomed to become panic about unfamiliar things.

Memory Leaks
JavaScript is a technique that is utilized to write web site. Such technique has been widely identified as GC (short for garbage collector). According to Fabulous Adventures In Coding, browser also adopts reference counting to deal with internal storage for Native object, such as Dom and ActiveX. In the reference counting system, each referenced object keeps a count. When the count is zero, the corresponding referenced object will be disposed and the memory it uses will be returned to stack. Circular reference occurs when objects mutually reference each other and such reference can be correctly dealt by some browsers only when the objects are purely JavaScript-based. The situation becomes different in reference counting system where objects that mutually reference cannot be disposed. As a consequence, browser becomes incapable of dealing with the circular reference between JavaScript and Native. Memory leaks happen whereupon. Such leak puts extra pressure on browser to cause crash finally. By the way, memory leak will also give rise to server crash due to C/C++ technique .

Complex CSS and Browser Bug
In the age of network and network marketing, personal website as well as CSS of poor quality emerges in large number. Such web sites do not support most of browsing standard. Once there’s a bug exists in the browser when it is dealing with such web site, its render engine would meet error, which will fall in infinite loop or even crash directly.

Redundant Web Data
A long web page containing multiple pictures or a page embedded with various controls such as Flash and ActiveX requires accessed browser to deal with a lot of data. As a consequence, the target system becomes busy, the target browser stops responding, even worse, system halts as dealing with large amount of data demands high CPU usage rate and internal storage.

Frequent Requests from Small HTTP(Hyper Text Transport Protocol)
Such request increases burden on backend server, load balancing and firewall, which results in excessive bandwidth. Performance degradation is thus anticipated. Provided that a user stays on a certain page with small HTTP that emits frequent requests, the memory being used would keep going up. Browser will crash then.

Add-ins
As a matter of fact, there are many add-ins mounted on our browsers and machines. It is believed that live chat tool and video tool are the primary tools that most PC users would download and install. Take video tool for example, to manifest its convenience, it preloads its add-in onto the installed browser so that it becomes capable of detecting if there’s any video file/ download resource and kindly reminding you. The more add-ins being implanted, the more resource is needed to load them. On the occurrence of failure in the middle of the loading, the browser would definitely crash. What’s more, there’s no perfectly programmed item in the world. Therefore, nearly 5ppm bug can be detected. In other word, the more add-ins you have, the more likely you are having browser crash problem.

Cache
Cache is always loaded onto a computer whenever online activity happens so as to speed up operation and to prevent hardware from being corrupted due to overloaded work; thus the longer the service period is, the more the cache will be found, which will occupy resource, leading to deficient resource distributed to the browser to perform intended online activity.

Low System Configuration
Low system configuration is not able to deal with multiple running tasks at the same time; if one opens tens of tabs at one time on a machine equipped with 256m memory while running other programs like anti-virus program and live chat tools, the required recourse will surpass the available recourse; browser crash is imperative.

There are other causes as well. Though the below listed are not the direct causes to browser crash, they will make websites inaccessible and push browser to the edge of crash:

Log file overflows the volume of disk.
Pointers on C of web service encounter error.
File descriptor is absent in progress.
Thread of execution deadlocks.
Temporary table in SQL server (which refers to any database server that implements the Structured Query Language) becomes insufficient.
Overload in server.

没有评论:

发表评论