Slashdot Mirror


Plugging Internet Explorer's Leaks

jgwebber writes "If you're developing DHTML web apps, you probably already know first-hand that Internet Explorer has horrendous memory leak issues. You can't not run on IE, so you've got to find a way to plug those leaks. So I've created a tool to help you find them. So until Microsoft decides to fix its browser architecture (ha!), at least we can keep it from blowing huge amounts of memory."

480 comments

  1. How about firefox? by moz25 · · Score: 4, Interesting

    Is such an approach also useable for finding firefox leaks? As a user (not developer, alas) I'm noticing that it invariably gets sluggish after some period of time, even with few pages open.

    1. Re:How about firefox? by madaxe42 · · Score: 4, Interesting

      I'm fairly certain there's a leak somewhere in teh FF javascript handler - I've noticed memory usage rocketing on some pages which use JS.

    2. Re:How about firefox? by Anonymous Coward · · Score: 0

      Yes, I've noticed it too. Firefox starts consuming a huge amount of memory and becomes sluggish, especially (on second thoughts, only?) on Windows. However, I have heard that this is a known issue, and will be fixed in Firefox 1.1
      The main reason, of course, is that Windows has a very poor garbage collector.

    3. Re:How about firefox? by Anonymous Coward · · Score: 0

      Windows doesn't have a garbage collector. It does have a VM, however.

    4. Re:How about firefox? by Anonymous Coward · · Score: 2, Informative

      Is such an approach also useable for finding firefox leaks?

      Doubtful. This is targeted at a very specific memory leak that Internet Explorer is known to have.

      As a user (not developer, alas) I'm noticing that it invariably gets sluggish after some period of time, even with few pages open.

      Apparently Firefox 1.1 will fix a lot of these memory leaks. You can try out "Deer Park" if you want a preview of Firefox 1.1.

    5. Re:How about firefox? by xtracto · · Score: 1

      I agree with you, I can not leave my computer with FireFox running for long time.

      Just yesterday I left my notebook turned on with firefox opened.

      After I returned 8 hours later I didnt payed attention and entered to some page with a flash game. Then I noticed my computer was very very slow, I pressed the ctrl-shft-esc to show the sysinternals proc. explorer and firefox was eating 99% of my CPU time and like 216 MB of memory (private bytes, the Virutal size was like in 300+MB).

      So if that happens when Fx is doing 'nothing' something is wrong in it.

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    6. Re:How about firefox? by ssj_195 · · Score: 4, Interesting
      There were many, many leaks in Firefox, and many have been fixed for 1.1 (do a search on their Bugzilla for "memory leak"). Hopefully, the situation is now much-improved, but I suspect it will be the case that long periods of heavy-browsing will require you to to restart Firefox for quite a while yet. For this reason, I always recommend the Session Saver extension - makes closing and restarting Firefox less painful.

      Memory fragmentation is a big issue for modern desktop systems as the heap used by programs written in C/C++ can't be compacted, and most memory allocation systems weren't necessarily designed to support programs that would be continually allocating and deallocating memory for days on end. Robert Love gave a (fairly detailed and technical) talk on it at while back, with some suggestions for combating it on the Linux desktop, which I recommend to anyone who is interested. It's about 126MB, Ogg format.

      http://stream.fluendo.com/archive/6uadec/Robert_Lo ve_-_Optimizing_GNOME.ogg

    7. Re:How about firefox? by CableModemSniper · · Score: 1

      Has anyone tried linking the B-D-W GC into FireFox?

      --
      Why not fork?
    8. Re:How about firefox? by dnoyeb · · Score: 1

      Interesting as my firefox stays on 24/7 just like my thunderbird. It does not increase its memory usage either. Its on Linux though and is probably missing some of the famous plugins like macromedia and adobe pdf...

    9. Re:How about firefox? by DrXym · · Score: 1
      Memory leaks don't cause sluggishness. Sluggishness is caused JS, flash players, chrome etc. all running on the same thread. Getting something like adblock is a good way to increase performance. These problems might not be so noticeable in IE since you can have multiple IE processes running at once.

      But Gecko does use something similar internally to IE called XPCOM. It's possible that some of the similar techniques that could track down memory issues in IE be adapted to work in Gecko. For example you can count when objects are addrefed and released for example. That's usually the most likely cause of such problems an object not being released so it lives forever, or two objects holding a reference each other.

      The problem is that tracking refcounting problems is horrifically complicated. Gecko has smart pointers, weak references and refcounting macros to debug problems, but at the end of the day good programming is the best defence.

      In the case of IE, I have no idea what it's written in but the chances are the code contains a lot of crap. It might use ATL or similar in someplaces and nothing at all in others. For all I know they're using raw interface pointers in places and forgetting to release them. Or two objects refcount each other so neither goes away. It's certainly possible when dealing with the DOM to run into these kind of problems since you have lots of relationships between objects. I imagine that it's a nightmare trying to figure out what to do when some JS holds onto a DOM element when the document that contains it has been replaced by something else.

    10. Re:How about firefox? by Negatyfus · · Score: 1

      So how does a managed environment with garbage collection like .NET improve this situation? Memory leaks should really be a thing of the past. Right? RIGHT!?

    11. Re:How about firefox? by ajs318 · · Score: 1

      Sounds more like Flash being the problem to me ..... if it was a problem purely with Firefox then it would have been noticed by now just through analysis of the source code. Flash is closed-source, it could be doing absolutely anything; and I wouldn't exactly trust the game either. Fortunately there is the killall command for just this sort of situation ..... if and not unless you have enough resources available to get an xterm to come up at all!

      I'm waiting with bated breath for the open-source Flash player clone precisely because of this. We have by popular demand installed Flash player on a few machines in the canteen at work; but not system-wide, so it's at least running non-privileged {not that I would trust Macromedia not to use a kernel exploit}. The general policy here is still very much "no source, no sale".

      --
      Je fume. Tu fumes. Nous fûmes!
    12. Re:How about firefox? by xtracto · · Score: 1

      You did not unterstand Macromedia Flash was NOT running all that time, I just went into that page [with the flash movie] after I returned to my computer, and no, usualy the movie does not make Fx behave like that (i.e. when you open Fx and go directly to the page...)

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    13. Re:How about firefox? by ssj_195 · · Score: 1

      Memory fragmentation should, but there is always the risk of an errant part of your code holding references to an object which is no longer needed, possibly until the program is closed. The situation is much-improved with languages that have garbage collection as it is more automated and remove some of the burden from the programmer, but the problem of determining when an object will definitely never be used again by a program and thus making it eligible for garbage collection is in general only solvable by strong AI (having no references to an object reachable by a chain of references stemming from the program root is a good heuristic for deciding that an object can be disposed of, but there are always cases it will miss).

    14. Re:How about firefox? by Momoru · · Score: 1

      f it was a problem purely with Firefox then it would have been noticed by now just through analysis of the source code

      Just because a problem has been found does not mean it has been fixed in 1.0* . If you look at the bug reports there are many bugs that have been in every version of 1.0*, are known (and seem easily fixable) but were not fixed yet. Supposedly this and others are fixed in 1.1 and beyond though.

    15. Re:How about firefox? by zootm · · Score: 2, Insightful

      Just to add on that point, it's probably worth noting that if you follow a pretty strict OO approach, most of the situations where these unchecked references occur become a lot less likely. There's still problems with non-terminating threads and things, people just have to be careful with the logic of their programs, which is a lot less common than I'd like it to be...

    16. Re:How about firefox? by Anonymous Coward · · Score: 0

      "if it was a problem purely with Firefox then it would have been noticed by now just through analysis of the source code"

      i call bullsh*t - first of all, it IS a problem purely w/FF because of how it handles JS and some plug-ins. It's NOT the fault of JS or plug-ins, it's the responsibility of the browser to a)properly implement the language or file type b)clean up after itself (it can kill anything it created, release any memory it held - if you write it to handle "worst case" situations)
      c)provide adequate protection from malicious use of system resources from anything the browser requests (properly laying out the sandbox boundaries)

      on top of that FF is BUGGY AS HELL. it definitely needs work on fixing CSS/XSL because the box model they use is flat out wrong compared to the wc3 standard and isn't even consistent with how it's improperly implemented. it's even possible to get a completely different rendering of a static page if you reload it enough times.

      i wish FF the best of luck, because it is the only browser that works on Macs and PCs exactly the same way - but they do need a lot of help with their code. if they think they have enough eyes checking the code now, they should double that number and they might get somewhere. but let's be honest - it's open source and some of the best people are working on closed source programs for a real paycheck(or at least a bigger paycheck)

    17. Re:How about firefox? by mattspammail · · Score: 1

      uh... okay. So if an app slowly creeps up in memory usage, going from 20 MB or so to over 100 MB, you don't think that'll have an affect on other apps? The other apps will have to rely on virtual memory instead of real memory. Computers 101.

      --
      Now accepting PayPal donations!
    18. Re:How about firefox? by Skye16 · · Score: 1

      Thunderbird is absolutely horrendous on Windows. If I leave it on and don't touch it for 9-10 hours (a normal work day), when I try to do anything with it, it's like I'm trying to coax it to work on a 386. Most of the time I have to close it entirely and reopen it - the GUI may start responding again, but actually getting it to check email is impossible. I'll hit the check email button every 5 minutes for an hour and not have a single email, but as soon as I restart and check again, I have 10 emails.

      Something is up. I continue to use it, as its the only email client out there for windows that seems to manage imap the way I want it (as if I wanted a fucking mark-as-delete/purge process, microsoft!), but it certainly isn't performing the way it should.

      Granted, the system its on is only an XP 1900+ with 256mb of RAM, but still, it shouldn't be that sluggish. It's like wading through chest-deep molasses.

    19. Re:How about firefox? by ssj_195 · · Score: 1

      It most definitely affects Firefox on Linux, too. It depends a lot on your browser habits; the leak seems to get worse every time you open a tab i.e. closing a tab does not appear to free all of the memory that was allocated when it was opened, and this makes using Firefox with my personal usage pattern a nightmare :) I used Firefox fairly intensely under Linux last weekend, and eventually my 1/2GB of RAM and my 1/2GB of swap were all used up. Firefox had just ten tabs open at the time. The time taken to close Firefox, from clicking OK on the "Close all tabs?" prompt to the ceasation of the flurry of disk activity was at least one and a half-minutes (7200RPM SATA, 8MB cache). At this point, the memory and swap consumption reported by top both instantly halved :)

    20. Re:How about firefox? by eric_brissette · · Score: 1

      Would a utility such as AnalogX's MaxMem help the situation? I use firefox all day every day (being a web developer) and I haven't noticed any memory problems. (MaxMem runs all of the time keeping my physical memory free)

      Link to download MaxMem

    21. Re:How about firefox? by paulwomack · · Score: 1

      Robert Love gave a (fairly detailed and technical) talk on it at while back, with some suggestions for combating it on the Linux desktop, which I recommend to anyone who is interested. It's about 126MB, Ogg format.

      And thus is "rich, multimedia web content" revealed in all its dreadfullness.

      A textual transcription would be better; a properly thought out and written up document better still; diagrams would help. All nicely achievably in HTML 1.0, back in the day. 126Mb. Geez.

      BugBear (old guy)

      --
      Ignorance is curable. Stupid is forever.
    22. Re:How about firefox? by eraserewind · · Score: 1

      Is it not possible that there's a memory leak/hog in the javascript code on the particular page, or does javascript not work like that?

    23. Re:How about firefox? by Threni · · Score: 1

      > the problem of determining when an object will definitely never be used again
      > by a program and thus making it eligible for garbage collection

      Can't you write it to the hard disk? I've only got 1.5 gigs of ram but 100+ gigs of hd space - I'm guaranteed to be able to spare at least as much hd space as I have ram.

    24. Re:How about firefox? by Darren+Winsper · · Score: 1

      "it definitely needs work on fixing CSS/XSL because the box model they use is flat out wrong compared to the wc3 standard and isn't even consistent with how it's improperly implemented."
      Prove it.

    25. Re:How about firefox? by Taladar · · Score: 2, Interesting

      Without being too familar with Javascript I am reasonably sure Javascript uses Memory too like any other programming language on the planet.

    26. Re:How about firefox? by Sinus0idal · · Score: 3, Insightful

      Yes but like Java, Javascript surely uses a garbage collection concept meaning it is the browsers responsibility to free memory, and any leaks are thus due to the browser.

    27. Re:How about firefox? by Anonymous Coward · · Score: 0

      But you can easily write javascripts which allocates a lot of memory and then hangs on to pointers to it, thus creating a memory leak.

    28. Re:How about firefox? by peragrin · · Score: 1

      firefox 1.03 and OS X10.3 I could leave the browser running non-stop, for weeks.

      I upgraded to tiger 10.4 and firefox 1.03 and 1.04 both need restarts every other day. The system slows way down, with a spinning beach ball, but I can force quit it and restart in seconds to clean up the mess.

      I have been using safari but don't like how it deals with bookmarks.

      --
      i thought once I was found, but it was only a dream.
    29. Re:How about firefox? by DrXym · · Score: 1
      No it doesn't affect other apps significantly. If an app leaks memory, that memory gets paged out because it is unused. It would be different if all those objects were in use causing page faults but they're not. It might say 100mb on the task list but the chances are that the amount of physical memory is significantly less than that. There would be some minimal system impact because paging implies disk activity and depending on the heap, not every leaky object is going to occupy exactly a full page on its own.


      Then of course you would eventually hit a crunch time when the page file fills up, but an app creeping up from 20 to 100Mb isn't that likely to do it.


      But does an slowly leaking app kill performance in any noticeable way? Nope. If Gecko or IE is slowing the system down, it's more likely because something on the page or pages you're browsing is causing it. Examples might be funky JS that runs lots of timers, loops, DOM intensive stuff, or shock / flash content.

    30. Re:How about firefox? by Anonymous Coward · · Score: 0

      One word of advice is to dump the cache. If you are using windows you might have to reboot after doing that. Or use Deer Park alpha, ive had it on 3 office machines since it's release a couple of days ago, and it seems to work fine. Again, if you are using windows, you may have to reboot after install. :)

    31. Re:How about firefox? by Dan+Ost · · Score: 1

      What you just said has an intuitive appeal to it, but it's wrong.

      Memory lost to a memory leak is, by definition, not part of the resident set
      for the process and as such, is the most likely candidate to be
      swapped out to disk. Therefore, as long as you have swap space left on disk,
      other apps should not be noticeably effected.

      --

      *sigh* back to work...
    32. Re:How about firefox? by Evil+Adrian · · Score: 2, Informative
      --
      evil adrian
    33. Re:How about firefox? by ArsenneLupin · · Score: 0
      Windows doesn't have a garbage collector.

      Or else it might collect itself?

    34. Re:How about firefox? by tsphere · · Score: 1

      Depends on how you define a "leak." .NET (and i think java???) waits until an allocation request fails before it collects any garbage. As a result, long-running .NET apps tend to fill all availiable memory and swap before stabilizing their memory usage. (i'm thinking of SharpDevelop in particular, there aren't many other large .NET apps out there)

      And I don't have to remind anyone who uses Windows, the OS doesn't behave well at all when its main memory and swap are filled. So in my opinion, having long-running managed apps makes for a much worse interactive user experience.

      tangentially, remember that longhorn is planning to move many more shell programs to managed code...

      --
      Tetris rules.
    35. Re:How about firefox? by Anonymous Coward · · Score: 0

      It really doesn't matter what you do, the browser should clean it up as soon as you leave the page.

    36. Re:How about firefox? by Mandrel · · Score: 1

      I have the same problem with Mozilla mail (1.7.7) on Linux. Eventually email stops popping, and I have to restart Mozilla to get the messages off the server -- sometimes a hundred if I've failed to notice they've stopped coming in.

    37. Re:How about firefox? by Enigma_Man · · Score: 1

      Really? Weird. I use Firefox (in Linux) to open sometimes hundreds of tabs, on a machine with 256 MB of memory and a 5400 rpm 4 gig HD, and it works fine (viewing all the recent pictures on collegehumor). I also have had it open for weeks at a time without a problem. Same thing with Thunderbird, which I use at work (on Windows), it stays open as long as Windows stays up (which is usually a week or so). And I always have about 30 things running on my machine at work all the time.

      -Jesse

      --
      Nothing says "unprofessional job" like wrinkles in your duct tape.
    38. Re:How about firefox? by xtracto · · Score: 1

      All this thread is kind of sensless, Javascript is as C,C++, Pascal, Java, etc a LANGUAGE, if the compiler/interpreter implementation is bad it is not the language fault, so if Javascript scripts get bloated in Fx it is because Firefox implementation of the JS interpreter is bad.

      It is like... saying that C programs are broken because they make core dumps...

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    39. Re:How about firefox? by Anonymous Coward · · Score: 0

      The biggest issue is that Firefox can take MINUTES to page-in on some Windows system due to some mysterous misuse of the memory manager. FF leaking tons of memory makes this problem very evident to users:

      https://bugzilla.mozilla.org/show_bug.cgi?id=76831

    40. Re:How about firefox? by Anonymous Coward · · Score: 0

      ok, here's an experiment

      use some fully compliant XSL/XML and tables or divs to create a stack of layers consisting of images that are wrapped in tags. you can even define table cell heights, padding and borders. i can almost guarantee you if you have more than 2 layers and certainly in a situation where you have differing image widths and more than 2 layers that there will be ENORMOUS gaps between the images that otherwise should be packed with 0px between them. IE by default renders the page as it should.

      the culprit is the tags which firefox assigns an arbitrary box size to - this forces the spacing between things

      it can be fixed with a series of stylesheet fixes that involve changing of display attributes and
      -moz-box-type/box-collapse attributes.

      then try changing things around a bit...depending on the number of images with links, the sizes of images in each row compared to the rows above and below, the series of styles that you'd use changes drastically - you may need to block certain things that were otherwise inline, you may need to force the content-box model to be used, you may need to force box-collapsing if you chaged it once before somewhere on the page even though it should default to it if not explicitly defined in the style.

      google provides at least 40 examples of hacks to get around FF/MOZ/SAFARI rendering engine issues

      no seriously - do it, lay it out and see it for yourself. you will get gaps...look at it using DOM inspector, the A heights will change, the origin point may move up or down - it's just NOT PROPERLY IMPLEMENTED, but somehow IE manages to do it right.

      talk to ANYONE who's developed XSL/XML based sites with complex layouts and need pixel perfect precision and i can bet they've had at least 1 huge issue with the way FF handles boxes.

      and you'd feel foolish for even thinking i could be uninformed or incorrect if you actually do it..or simply google firefox vertical spacing issue between images if you're just too lazy or incapable

    41. Re:How about firefox? by pcidevel · · Score: 1

      It is like... saying that C programs are broken because they make core dumps...

      void main(void)
      {
      int *test;

      test = malloc(10);

      free(test);
      free(test);
      }

      Now, exactly how is it the COMPILER'S fault that the above program is going to dump core? I've rarely seen a core dump occur for any reason OTHER than because a C program is broken. It's very rarely a compiler issue.

      --

      I thought someone said there was going to be free beer!

    42. Re:How about firefox? by listen · · Score: 1
      The purpose of the stream is to let people see talks from a conference on the web. They didn't have a conference just to make these streams available on the web.


      "How can we get information on optimization to everyone on the internet? "



      "Lets all fly to Germany and then stream videos of ourselves! "


      Your dichotomy is idiotic.

      I expect he'll stick the slides up soon anyway.
    43. Re:How about firefox? by Anonymous Coward · · Score: 0

      It's captured from the streaming of the recent GUADEC conference where he gave a talk on the subject. He has written quite a bit about how to optimise GNOME... now shut up you whining little shit.

    44. Re:How about firefox? by Sinus0idal · · Score: 1

      In C you can malloc a ton of memory and then never free it, thus wasting memory. Garbage collecting languages do not require manual allocation/freeing.

    45. Re:How about firefox? by Anonymous Coward · · Score: 0

      > It is like... saying that C programs are broken because they make core dumps...

      Arguably C as a language is broken because it's so prone to core dumps ... broken for some purposes for which it's used mind you. Heck, with assembly, you get bus errors (possible but harder with C) and illegal instruction errors (much harder in C) but most people wouldn't consider asm broken ... unless you were trying to write a shopping cart in it.

      C has its niche, but what's broken about C is that that niche is perceived to be larger than it actually is. I guess that's more a fault of the culture around C.

    46. Re:How about firefox? by EnderWiggnz · · Score: 1

      uh... i dont understand your comparison to C... of course a C program is broken if it core dumps... an extremely small percentage of core's are caused by broken compilers... i think that i've broken a compiler a total of twice in practical use...

      --
      ... hi bingo ...
    47. Re:How about firefox? by CProgrammer98 · · Score: 1

      If a c program core dumps it's because it's badly written c code - not the compiler's fault at all!

      --
      And the people shall be oppressed, every one by another, and every one by his neighbour Isaiah 3:5
    48. Re:How about firefox? by awhelan · · Score: 1

      I've also had some problems with Thunderbird. I'm a student in Northeastern's College of Computer Science and I was contacted by systems. They told me I was trying to make IMAP connections in a loop for hours at a time, the times corresponding to when I had Thunderbird open. I also have the problem of not getting emails when I hit the button to check it. Hours later I'll have 20 new messages dated from well before I started checking.

      Despite the complaints, it's still my favorite windows email client, but I can't wait for the port of Evolution.

    49. Re:How about firefox? by Anonymous Coward · · Score: 0

      > .NET (and i think java???) waits until an allocation request fails before it collects any garbage.

      They most certainly do not. Java runs gc in a low-priority thread, and I'd be mighty surprised if .NET didn't as well. It's just an allocation request that tends to trigger the gc threshold.

    50. Re:How about firefox? by CProgrammer98 · · Score: 1

      and memory blocks not actively in use gets paged out to swapfile... Computers 101

      --
      And the people shall be oppressed, every one by another, and every one by his neighbour Isaiah 3:5
    51. Re:How about firefox? by theshowmecanuck · · Score: 2, Informative
      Yes but like Java, Javascript surely uses a garbage collection concept meaning it is the browsers responsibility to free memory, and any leaks are thus due to the browser.

      Bubble bustin' time! Garbage collection doesn't always live up to its reputation. I have seen Java apps leak memory like a sieve. This one project I was working at would start up a production (!) EJB container in the morning, and by 13:00, it would have run out of memory and crashed. I told them to fix their leaks. When they got over arguing that the garbage collector prevents memory leaks and checked it against a memory profiler... they started fixing the memory leaks and the problem was solve.

      In any case, I doubt that the garbage collection in the Javascript engines are anywhere near as sophisticated as in Java itself. So I would think it would be easier to leak memory. Anyway Mozilla has a bit of an article on this here.

      --
      -- I ignore anonymous replies to my comments and postings.
    52. Re:How about firefox? by theshowmecanuck · · Score: 1

      As an adendum, what I am trying to say that you cannot rely on a garbage collector to do everything for you. It cannot understand everything you are trying to do. As a programmer, you have to give it a little help.

      --
      -- I ignore anonymous replies to my comments and postings.
    53. Re:How about firefox? by DimGeo · · Score: 1

      Wish I had mod points!

    54. Re:How about firefox? by DimGeo · · Score: 1

      Well if you happen to browse sites with pictures and you open each picture in a new tab, save the picture, then close the tab, then you eventually get to the point where working with the browser is impossible until it is restarted (don't ask how I know that!).

    55. Re:How about firefox? by zootm · · Score: 1

      Should I be happy or sad that you don't? :D

    56. Re:How about firefox? by cosinezero · · Score: 1

      Almost, but not quite. Your first sentence is spot-on, but .NET's GC should have memory stable long before memory is full. The reason why .NET can appear to soak all available memory is the large object heap, which is rarely collected. This behaviour is by design and is not an instability, though it does require you to think before allocating / using large objects. Applications with few large objects should never appear to be soaking memory - if they are, you should be profiling your code for optimization.

    57. Re:How about firefox? by Anonymous Coward · · Score: 0

      How DARE you suggest that Firefox is not just the orgasmic manifestation of perfection as Richard Stallman has envisioned in one of his wet, wet dreams. How dare!

    58. Re:How about firefox? by eraserewind · · Score: 1

      It is C's fault that programs make core dumps (or equivalent). It's not like core dumps, or rather the "undefined behaviour" that causes them when you do something nasty to a pointer, are not an intrinsic feature of the language. They are a flaw in the language that require the developer to do a lot of work to make sure the code doesn't trigger any undefined behaviour.

      C, as a language exposes the developer to a whole class of errors that another language does not, and so it's perfectly reasonable to say that C is a flawed language in this respect. I know there are reasons (good or otherwise) why C has chosen to behave like this, but it's still a language flaw rather than an implementation flaw, and one that leads to the majority of the security vulnerabilities in your favourite OS (whichever it happens to be), and most of the random crashes and resource leakeage in your favourite applications.

      Languages can be poorly designed just as much as implementations can be.

    59. Re:How about firefox? by DimGeo · · Score: 1

      I wanted to mod you up. :) Well said.

    60. Re:How about firefox? by Hinhule · · Score: 1

      I believe it's those flash ads.

      Firefox is normally fast, but for an ad heavy page it just slows dooown. Using the scroll wheel feels like having a 2000ms ping, so I always use the sidebar scroll to look further down on such a page.

      The old URL menu thing has the same lag when opening it. Sometimes pressing escape helps for the URL thingy. However I have started to just make a new tab and close the one I am in when that happens.

      Perhaps I should just look into adblock again. Now that I think about it, browsing slows down a lot when the browser insists on loading stuff from an ad server before loading the page content.

    61. Re:How about firefox? by masklinn · · Score: 1
      use some fully compliant XSL/XML and tables or divs to create a stack of layers consisting of images that are wrapped in tags. you can even define table cell heights, padding and borders. i can almost guarantee you if you have more than 2 layers and certainly in a situation where you have differing image widths and more than 2 layers that there will be ENORMOUS gaps between the images that otherwise should be packed with 0px between them. IE by default renders the page as it should.
      WTF? Last time i checked, normative documents didn't define any default style for HTML elements, at best guidelines (UAs may render X as Y) and never about margins/paddings
      --
      "The way we can tell it's C# instead of Haskell is because it's nine lines instead of two." -- wadler
    62. Re:How about firefox? by Anonymous Coward · · Score: 0

      I thought Windows WAS a garbage collector.

    63. Re:How about firefox? by zootm · · Score: 1

      Thanks :)

      I feel guilty about wasting space on Slashdot for this little diversion now though. Although that said, there's plenty more wasted space on Slashdot that it won't be noticed...

    64. Re:How about firefox? by Darren+Winsper · · Score: 1

      "use some fully compliant XSL/XML and tables or divs to create a stack of layers consisting of images that are wrapped in tags."
      "vertical-align: bottom;" fixed the test case I came up with. It appears to be related to this "bug":
      https://bugzilla.mozilla.org/show_bug.cgi?id=5821 (Copy and paste into a new window/tab)
      However, I didn't have time to come up with more complex examples.

      Mozilla's box model is not perfect, David Hyatt found an interesting case, but IE is far worse:
      http://weblogs.mozillazine.org/hyatt/archives/2005 _01.html#007252

      If I get the time, I may give this "insane collection of images" issue a go, but some testcases would be really nice.

    65. Re:How about firefox? by Anonymous Coward · · Score: 0

      How does it not live up to it's reputation? If your not a dumbass then it works as is claimed. It won't attempt to release objects that are still in use, so if you don't do the necessary job of making sure that's the case, then of course it's not going to do it for you.

      It's like saying C++ doesn't live up to it's reputation because it has buffer overflows.

      Well no shit it does.. but it's the fault of the developer, not the language.

    66. Re:How about firefox? by DrXym · · Score: 1
      That appears to be more with how the garbage collector operates when the process is woken up. From the last comments in the bug it suggests it basically does a linear sweep of all JS / XPConnect objects which essentially means page faulting occurs randomly all over the address space. It also says that Java / .NET apps have similar issues.


      That isn't a good thing but it doesn't have much to do with memory leakage. Rather it seems that the GC shouldn't happen at wakeup, or if it does it should be smarter about how it walks that list. Perhaps it means that info pertaining to GC should be maintained in a discrete area, separate from the objects, or that objects of a similar type should be allocated from their own heap.

    67. Re:How about firefox? by Malc · · Score: 1

      There's definitely a memory leak somewhere... I closed down Firefox earlier when its memory footprint starting exceeding 150MB. I only had one tab open. Java is disabled too (I saw somebody mention it in another thread).

    68. Re:How about firefox? by Anonymous Coward · · Score: 0

      I have a Firefox window open pretty much all the time, this one hasn't been closed for a good week, and it probably had over 50 tabs open and closed, a whole lot of pages visited, and it's doesn't seem to slow down one bit.

      Oh and this is on Win XP, and I don't have Flash installed.

      Perhaps your problem is more with Flash :)

    69. Re:How about firefox? by Maian · · Score: 1
      That's probably caused by this bug.

      Fixed in Firefox 1.1 according to this.

    70. Re:How about firefox? by Richard_at_work · · Score: 1

      Quick tip with this, I found Firefox beachballed all the time after updating to 10.4, but when I deleted the .app from /Applications and replaced it with a fresh one, it started working as good as normal. Apparently something to do with prelinking/prebinding that a fresh copy (even from the same archive as the one you are currently running) fixes due to forcing it to be redone on first start.

    71. Re:How about firefox? by SilverspurG · · Score: 1

      So you're denying the existence of bugs in the compilers which can produce code which core dumps through no fault of the code's own?

      --
      fast as fast can be. you'll never catch me.
    72. Re:How about firefox? by grahamlee · · Score: 1

      Yes, in that case it is your compiler's fault if that segfaults, it shouldn't even bloody compile. For a start, the function main() is of type int, not void. Its arguments are (const int c, const char **argv). Your program's control reaches the end of a non-void function, which is naughty although IIRC not strictly an error condition. But you also have (an implicit) typing problem in the test=malloc(10); line, because you have not declared the malloc() function - return type defaults to int when you want int * (in fact, malloc() returns a void * so you should be casting anyway). You haven't declared free() either, but as it's used in void context that's not too much of a problem

    73. Re:How about firefox? by 19thNervousBreakdown · · Score: 1

      Sounds like the same problem I was having, although I have the advantage of running my own IMAP server...

      Many IMAP servers, Courier-IMAP for certain, come configured to limit the number of connections from a particular IP to 4. Thunderbird by default caches 5 connections, and doesn't handle it well when it can't. Change Tools -> Account Settings -> ${YOUR_ACCOUNT} -> Server Settings -> Advanced -> Maximum number of server connections to cache. I'd try setting it to 1 just to verify that's the problem, then see how high you can take it if it is.

      --
      <xml><I><am><so><damn>Web 2.0</damn></so></am></I></xml>
    74. Re:How about firefox? by Captain+Nitpick · · Score: 1
      I'm fairly certain there's a leak somewhere in teh FF javascript handler - I've noticed memory usage rocketing on some pages which use JS.

      Just a reminder: "memory leak" does not mean "uses a lot of memory". It means it doesn't release memory when it's done using it.

      --
      But then again, I could be wrong.
    75. Re:How about firefox? by Malc · · Score: 1

      FYI: you can't link to Bugzilla from /.. You need to just provide the URL for coping and pasting.

    76. Re:How about firefox? by madaxe42 · · Score: 1

      Realised - that was the intended meaning. Even after navigating away from sites no garbage collectino seems to be done.

    77. Re:How about firefox? by greenrom · · Score: 1

      It seems to me that the problem of memory fragmentation could be addressed at some level by the operating system by giving each process its own 32-bit virtual address space. By giving each process a full 32-bit address space, it's unlikely that a process could sufficently fragment a 32-bit address space to the point where large allocations can no longer be made. In a 64-bit address space, it would be nearly impossible. Of course, this scheme would impact performance as it would require the operating system to do a TLB flush after each context switch. It would also require more memory to map virtual pages to physical memory differently for each process. Still, it seems like it could be a workable solution for most memory fragmentation problems. Is there something I'm missing?

    78. Re:How about firefox? by Anonymous Coward · · Score: 0
      No. Java has no MEMORY LEAKS, when JVM is correctly implemented. What you refer to is probably UNINTENTIONAL REFERENCES that prevent memory from getting reclaimed (GCed).

      The reason why such unintended references are not called leaks is simple: leak is term used only if the runtime environment would lose track of chunk of memory. That the perceived behaviour is similar to that of actual leak doesn't make it one. At least this is definition for Java-like languages that do have runtime environment -- for C definition is slightly different. In both cases there's usually still OS that can reclaim the memory, so there are multiple levels of leakages (Windows 3.1 itself was leaking memory, for example...).

      None of above means that one couldn't manage to run out of memory on Java, Javascript or any other language where executable run in a managed environment: it is perfectly possible to hog too much memory. With Javascript it's bit more difficult, though, since code life-cycle is bound to page loading.

    79. Re:How about firefox? by dotlively · · Score: 1

      Links to Bugzilla from Slashdot work just fine for any follower that disables the referrer header the browser or proxy. see http://developers.slashdot.org/comments.pl?sid=124 646&cid=10453065

    80. Re:How about firefox? by Master+of+Transhuman · · Score: 1

      Yes, if you mean viruses, spyware, adware, Microsoft Office...

      But if you mean Windows ITSELF, no - that's just garbage. The collector is then the user.

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    81. Re:How about firefox? by itchy92 · · Score: 1

      I could mod your comment down past the threshold, if you'd like.

      Wait, shit... nevermind.

      --
      Slashdot: News for nerds. Stuff tha-- MICRO$OFT IS THE DEVIL!!1
    82. Re:How about firefox? by Anonymous Coward · · Score: 0

      You Sir may want to check out pornzilla.

    83. Re:How about firefox? by owlstead · · Score: 1

      As long as you don't throw away the references objects, you can get memory leaks. Well, actually, they are more like object instance leaks, but it amounts to the same thing. That's the way garbage collection normally works - it checks which objects are referenced, if there are no references, the object is thrown away.

      Also, many garbage collectors only recycle memory if they get to a certain memory usage. With Java for instance, it looks at the maximum heap size. That is, unless it is triggered by the program or the user (see Java console) etc. JavaScript probably works the same way.

      I have not seen too many JavaScript problems though. I do see very high processor usage with the flash plugin though. Running a game togetter with a running flash thingy is horrendous.

    84. Re:How about firefox? by x0n · · Score: 1
      *bzzzzt* wrong. While I appreciate your rabid knee-jerk blame IE attitude, javascript -- like many dynamic languages -- uses a form of GC, it is not some magic memory handler. An object graph can only be freed if there are no other objects referencing it. Without getting too technical, it's possible to write JS code that cannot be GC'd. A circular reference, for example:

      var x = new Object();
      var y = new Object();
      x.y = y; // add expando to reference y
      y.x = x; // add expando to reference x

      The GC cannot free x because it references y, and vice-versa.

      - Oisin

      --

      PGP KeyId: 0x08D63965
    85. Re:How about firefox? by x0n · · Score: 1

      correction to self: The GC cannot free x because y references it, and vice-versa.

      --

      PGP KeyId: 0x08D63965
    86. Re:How about firefox? by Sinus0idal · · Score: 1

      But how can you help? You cannot release resources in Java. The garbage collector should automatically free up resources which no longer have any reference pointing to them...

    87. Re:How about firefox? by nazsco · · Score: 1

      yah, and redering incosistence should be left to the comitees, right?

    88. Re:How about firefox? by pcidevel · · Score: 1

      Nothing that you listed is goes beyond a warning. But it goes to prove my point, you are blaming the compiler for my poor code, when in reality it would be the poor code in my example at fault, not the compiler. If the compiler appropriately warns, the compiler is implemented correctly.

      Bad code is not the compilers fault.

      --

      I thought someone said there was going to be free beer!

    89. Re:How about firefox? by Anonymous Coward · · Score: 0

      How come you can't master the use of ITS/IT'S and can't tell the difference between YOUR and YOU'RE, but go off calling everyone else a dumbass?

    90. Re:How about firefox? by Anonymous Coward · · Score: 0

      And learning to spell should be left to who?

    91. Re:How about firefox? by Anonymous Coward · · Score: 0

      Nothing that you listed is goes beyond a warning.

      I'm not sure that's accurate. Standard C requires main to return an int and I'm pretty sure a conforming compiler is allowed to reject your code and laugh in your face if you do otherwise.

    92. Re:How about firefox? by Anonymous Coward · · Score: 0

      *cough* *cough* bullshit *cough*....

      C is what it is. It does a perfectly good job at being what it is. It is not flawed. It is very well specified and does what its told. It is physically possible to sit down and bang out 10,000 lines of non-buggy C code.

      On the other hand, I'd agree with you that the vast majority of projects today that choose to use C are making a mistake. That doesn't mean that if they DO choose C, and then write buggy code, it is somehow the language's fault. The language is doing exactly as it was told.

      By the way, I just got this:
      Slashdot requires you to wait 2 minutes between each successful posting of a comment to allow everyone a fair chance at posting a comment.

      It's been 6 minutes since you last successfully posted a comment


      Nice, slashcode, thanks...

    93. Re:How about firefox? by jp10558 · · Score: 1

      Generally such programs hinder performance. You don't really want much free physical memory.

      See:
      http://www.windowsitpro.com/Articles/Index.cfm?Art icleID=41095&pg=1

      --
      Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
    94. Re:How about firefox? by Anonymous Coward · · Score: 0

      v-align fixes the issue about 1/5 of the time, but it also never solves the problem across ff/moz/nn and safari at the same time - it usually always returns on one of them, or takes on a slightly different, but equally frustrating form

      and the more complex you make it, the more complex the style applications need to be - IE will render it fine without any styles involved.

      and you have no idea how much it pains me to say this, because I'm a Apple/OSS fanboy - but IE is just cleaner, easier and quicker to develop for.

      at least for what i do every day

    95. Re:How about firefox? by Anonymous Coward · · Score: 0

      And learning grammar should be left to whom?

    96. Re:How about firefox? by EvanED · · Score: 1
      For a start, the function main() is of type int, not void. Its arguments are (const int c, const char **argv)

      I have two problems with this statement. First and biggest, those arguments are optional:

      The function called at program startup is named main. The implementation declares no prototype for this function. It shall be defined with a return type of int and with no parameters:

      int main(void) { /* ... */ }

      or with two parameters (referred to here as argc and argv, though any names may be used, as they are local to the function in which they are declared):

      int main(int argc, char *argv[]) { /* ... */ }

      or equivalent; or in some other implementation-defined manner.

      (Draft C99 standard, 5.1.2.2.1 #1; footnote citation omitted)

      Secondly, implementations are allowed to allow main types of other than those two. Thus 'void main()' is not incorrect by the standard, it just isn't guranteed to be correct. (Note that this isn't true of C++. In C++ the implementation may provide other forms of main, but all must return an int.)

      Your program's control reaches the end of a non-void function, which is naughty although IIRC not strictly an error condition

      Again, this is perfectly kosher. Reaching the end of a non-void function may be undefined for other functions (I didn't bother to look), but both C99 and C++ provide that reaching the end of main is equivalent to exit(0):

      If the return type of the main function is a type compatible with int, a return from the initial call to the main function is equivalent to calling the exit function with the value returned by the main function as its argument; reaching the } that terminates the main function returns a value of 0. If the return type is not compatible with int, the termination status returned to the host environment is unspecified.

      (5.1.2.2.3 #1)

      (This provides further support for my statement that main needn't return int.)

      But you also have (an implicit) typing problem in the test=malloc(10); line, because you have not declared the malloc() function - return type defaults to int when you want int * (in fact, malloc() returns a void * so you should be casting anyway). You haven't declared free() either, but as it's used in void context that's not too much of a problem

      This is pedantic I think. People understand that if you use malloc and free you probably know to include stdlib.h. Typing it out everytime wastes the person's time, half the time in a context such as slashdot results in lines of just '#include' because the poster forgot to escape the <s and didn't preview (I'm just as guilty of this as anyone), and "wastes" space.
    97. Re:How about firefox? by EvanED · · Score: 1

      Standard C requires main to return an int

      I'm positive that's not accurate, unless it was changed from the final draft of the C99 standard*. Implementations are allowed to allow other types, so a compiler that accepts void main can still be conforming, and the program can still be an acceptable program. (You could say that it's non-standard because it uses implementation-dependent things, but it doesn't violate the standard either.)

      a conforming compiler is allowed to reject your code and laugh in your face if you do otherwise

      This is true, as the standard doesn't require that compilers accept mains with signatures other than int main() and int main(int, char**). But again, it doesn't mandate that conforming compilers must reject such programs.

      See my other post for citations.

      (Note that this is all not true for C++. C++ implementations are allowed to accept other signatures of main, but only if they return int. If a C++ compiler accepts void main(), it's non-conforming.)

      * Or used to be that way and was changed to the more lenient version in effect now, but I have severe doubts about that because it seems to be a trend in the opposite direction C and C++ have taken in terms of strictness.

    98. Re:How about firefox? by EvanED · · Score: 1

      That's still a problem with the GC.

      It is technically possible for the GC to detect such circular references by expanding the definition of "inaccessable". In fact, I believe your standard mark-and-sweep will be able to free x and y once they go out of scope.

      Now, depending on the GC algorithm detecting them may be much more difficult or slower, so a decision may be made that it will do less harm to not try to detect circular references than looking for them would cause, and such a decision is as valid as any other design tradeoff. However, such a decision does transform the GC from an exact to a conservative algorithm, and breaks its correctness. And because of the tradeoff, that decision is also as valid a target for criticism as any other design decision.

    99. Re:How about firefox? by Iffy+Bonzoolie · · Score: 1

      I don't know about .NET, but the Java's heap size is not really correlated to system memory. It starts off with a certain sized heap (optionally specifiable), and when a full GC doesn't free enough space for a pending allocation the VM grows the heap up to some maximum size (also optionally specifiable). So of course if you know what the working set size of your app is, you can set your initial/max heap size to be that, and hopefully that doesn't exceed your physical memory. I think, though, that Java will never shrink its heap, so that's also something to consider: if at some point your app requires a ton of memory concurrently, that will stretch your heap out for the rest of the lifetime of that VM.

      I think that long-lifetime applications, native or inside a VM, have to be developed with these kinds of things in mind or they will perform badly.

      -If

      --
      Run a pencil-and-paper RPG campaign with your far-off friends: Gametable!
    100. Re:How about firefox? by CProgrammer98 · · Score: 1

      well no, but it's EXTREMELY unlikely - especially if the compiler passes an ANSI C test suite - the program would have to be quite exotic to uncover a compiler bug...

      --
      And the people shall be oppressed, every one by another, and every one by his neighbour Isaiah 3:5
    101. Re:How about firefox? by Anonymous Coward · · Score: 0

      the gc should still free x and y when the page unloads. eat it, fag.

    102. Re:How about firefox? by Anonymous Coward · · Score: 0

      No. Java has no MEMORY LEAKS, when JVM is correctly implemented. What you refer to is probably UNINTENTIONAL REFERENCES that prevent memory from getting reclaimed (GCed).

      If a program consumes ever increasing amounts of memory as it runs, it has a memory leak. If you want to be pedantic and claim that Java itself doesn't leak memory, so be it. But that doesn't mean that no program written in Java can have a memory leak. Those UNINTENTIONAL REFERENCES you refer to are a memory leak, from the point of view of the application itself. And, not surpisingly, it's the applicaiton itself that matters.

    103. Re:How about firefox? by cookd · · Score: 1

      No, no, no. Well, actually, Yes, no, no. .NET does wait until an allocation request fails before running the GC, but the allocation request is done against a pre-allocated pool much smaller than "available memory and swap". Once the pre-allocated pool is full, GC is performed. Only when the GC doesn't free up enough memory (as determined by some heuristic, not necessarily "enough to fulfill the current allocation request") does the system allocate additional memory from the OS.

      I've got plenty of long-running .NET apps that behave just fine and stabilize long before running Windows out of swap space. I don't work with SharpDevelop, but it sounds like it either has leaks, excessive memory requirements, or poor memory usage patterns, as the behavior you indicate is not an inevitable consequence of .NET or Java's design. It is a bug in the application, not a problem with .NET.

      --
      Time flies like an arrow. Fruit flies like a banana.
    104. Re:How about firefox? by theshowmecanuck · · Score: 1
      What I said was a memory leak in a Java app(lication). Meaning an application programmed in Java. And yes, you can have a memory leak in Java. Just as you can have a memory leak in 'C' (meaning in an application programmed in 'C'. When talking about a memory leak in Java (or any other language) the reference is to a memory leak caused by programming practices within an application... not in any runtime engine (like the JVM). If I was talking about the JVM, I would have said so. The link in my original post gives an example on how that could happen.
      (from my original post) Garbage collection

      Garbage collection is generally used to refer to algorithms that (1) determine which objects are still needed by starting from a set of roots and finding all objects reachable from those objects and (2) returning all remaining objects to the heap. The roots include things like global variables and variables on the current call stack. Mozilla's JavaScript engine uses one of the most common garbage collection algorithms, mark and sweep, in which the garbage collector clears the mark bit on each object, sets the mark bits on all roots and all objects reachable from them, and then finalizes all objects not marked and returns the memory they used to the heap.

      Garbage collection (at least when the term is not used to refer to lesser algorithms like reference counting) is pretty good at freeing memory that should be freed. However, in a fully garbage-collected system the programmer can still create leaks by leaving objects reachable that are no longer needed. For example, if an object's constructor adds the object to a list that is reachable from a global variable and nothing ever removes it from the list, the object will never be destroyed since it is always reachable from the list.

      And if you still don't believe me, read this IBM article on memory leaks in Java applications. The garbage collector does NOT always collect uneeded objects that bad coding leaves accessable.

      Memory leaks are caused by application programming. They happen when the programmer tells the program to ask for memory from the system, but doesn't return it to the system when done with it. In 'C' (malloc) and 'C++' (new) etc., the request for memory is explicit, and the programmer is responsible for having the program tell the operating system that it no longer needs the memory (e.g. 'free' for 'C', 'delete' for 'C++'... with C++ the implicit destructors can do some of the work, but it doesn't always let the programmer off the hook). The operating system is not responsible for reclaiming memory. It is told by the program, and not only that, the program tells it what block of memory to free up. If it doesn't and the program ends, then there is that much memory tied up that the operating system doesn't have access to any more.

      Java's GC is supposed to overcome that by collecting any unreferenced memory during a program's lifetime and before it exits. But if the programmer codes in a way that keeps open references to unused/unreachable objects, then the application will be said to leak. Granted it will 'leak' in the JVM (asking the JVM for more memory), but the JVM will in turn ask the O/S for more memory until it reaches some predefined maximum, at which time it will crash. In the meantime, it sucks up resources and slows things down on the box that the JVM is running on. If this happens in an enterprise application running in a J2EE container (which presumably is supposed to provide a stable application environment 24/7, which means little leaks will add up over time), this can cause very unhappy customers. If it happens in a web browser because the JavaScript code is leaking, then you also have unhappy customers. Any time you lose system memory to a leak (even if it will be returned once the runtime environment is shut down), you will have performance impact and unhappy customers.

      --
      -- I ignore anonymous replies to my comments and postings.
    105. Re:How about firefox? by Monkelectric · · Score: 1
      I have seen Java apps leak memory like a sieve.

      In my opinion thats the real problem with GC. its supposed to free us from the free/malloc paradigm but you still have to dereference objects... so I ask everyone whats the difference between Object = Null and free(Object) ?

      Sure GC is nice for cleaning up temporary variables, but its terribly expensive and as you say the program can't determine the programmers intent.

      I had a similar situation to yours back 3 or 4 years ago when I was a sysadmin... a researcher came to my office and demanded more ram for his computer (this was SUN ram BTW, extremely expensive). Some program he had written was using 2GB of ram (I think his machine had 512M which was a hell of a lot in 2000) and taking 24 hours to run a single simulation ... So I got him to walk me through the operation of the program, and we made worst case estimates about all the data structures involved, and basically came up with a worst case of his program requiring about 100 megs of ram. He was processing video frames and on a hunch I said, "how many frames are you processing?" ... multiplying the ammount of frames by the data structures storing them, came out to just around 2GB. Basically he was *never* deallocating a single frame structure. He went back to his desk, found a malloc he'd forgotten, and his program ran in 14 minutes after that :) -- long story short, programmers will blame EVERYTHING before themselves (and Im a programmer so its a fair cop).

      --

      Religion is a gateway psychosis. -- Dave Foley

    106. Re:How about firefox? by Captain+Nitpick · · Score: 1
      Realised - that was the intended meaning. Even after navigating away from sites no garbage collectino seems to be done.

      Just being explicit about it. A lot of Slashdot readers don't bother making sure they're operating under the correct definition.

      --
      But then again, I could be wrong.
    107. Re:How about firefox? by Anonymous Coward · · Score: 0

      How do you guarantee that all leaks are more than a page in size or that other useful data is not located on the same pages as the leaks?

      Leaks can increase the working set size as measured in pages. More pages usually take more page table and TLB entries, adding another layer of slowdown as more TLB overflows and table walks occur. Lower data density also causes data caches to become less effective.

    108. Re:How about firefox? by Anonymous Coward · · Score: 0

      holy shit dude, i think we need a committee of spellcheckers to make sense of that sentence...

    109. Re:How about firefox? by srcosmo · · Score: 1
      http://stream.fluendo.com/archive/6uadec/Robert_Lo ve_-_Optimizing_GNOME.ogg

      That ogg file crashes Winamp. Anybody have another copy?

      --
      free speach
      Did you mean: free speech
    110. Re:How about firefox? by Dan+Ost · · Score: 1

      What you've described is possible, but I would think that that would be
      a pathological case. It is extremely likely that there will be some page
      inflation, but whether or not this behavior dominates the virtual memory
      space depends largely on the design and implementation of the program in
      question. Your experiences may be different, but I've never seen a leak that
      didn't first exhaust swap space before causing program failure.

      --

      *sigh* back to work...
    111. Re:How about firefox? by chronos · · Score: 1

      Languages like LISP don't have memory fragmentation problems because they have support for updating references to heap objects. A copying garbage collector will defragment the heap as it reclaims memory.

      The practical result is that C++ has no support for garbage collection so pointers can not be updated. This means that any form of copying garbage collector is not possible and so memory fragmentation is a real concern.

      These days C++ is the last language I will choose. Only if I need to work directly with the hardware or if execution speed became a problem would I use C++. With a little care LISP can be quite fast if the implementation is good.

    112. Re:How about firefox? by Anonymous Coward · · Score: 0

      use some fully compliant XSL/XML and tables or divs to create a stack of layers consisting of images that are wrapped in tags.

      You would appear to be far more credible if you actually used the proper names for things. "A stack of layers consisting of images that are wrapped in tags"?

      What's a stack? I assume you don't mean <layer> elements when you say "layers". And what type of "tag" [sic] (they are element types, BTW)?

      i can almost guarantee you if you have more than 2 layers and certainly in a situation where you have differing image widths and more than 2 layers that there will be ENORMOUS gaps between the images that otherwise should be packed with 0px between them. IE by default renders the page as it should.

      There should be gaps. The initial value for vertical align is baseline. This means that there should be space for descenders (the tails on glyphs like lowercase 'j').

      google provides at least 40 examples of hacks to get around FF/MOZ/SAFARI rendering engine issues

      They aren't hacks. They are simply normal CSS. If you don't want room for descenders, you have a number of options. And 40 is an exaggeration. Exaggeration also reduces your credibility. As does claiming multiple independent browsers get the box model wrong and Internet Explorer gets it right.

    113. Re:How about firefox? by Darren+Winsper · · Score: 1

      "but IE is just cleaner, easier and quicker to develop for."
      I'm sorry, but my experience is the opposite. The amount of comments along the lines of "/* Don't change this, IE will break */" we have in my employer's current project is rather alarming. I've got a barmy case where making the width of the banner 100% will cause IE to make the sidebar (which is semantically and CSS-wise independent from the banner) disappear!

    114. Re:How about firefox? by Anonymous Coward · · Score: 0

      I have seen Java apps leak memory like a sieve. In my opinion thats the real problem with GC.

      Java can leak memory, Java uses GC, therefore GC is broken? There's a flaw in the third step there, mister. You can conclude from the anecdote you have cited that Java's GC is broken, but you have not presented any anecdotes that support the claim that GC itself is flawed.

    115. Re:How about firefox? by Anonymous Coward · · Score: 0

      The GC cannot free x because it references y, and vice-versa.

      That is not true. It is a problem for reference-counting based systems, like that of Perl 5, but most of the modern systems commonly referred to as "garbage collectors" use a mark-and-sweep algorithm that has no problem whatsoever handling circular references: if neither x nor y is referenced by any OTHER object, then neither x nor y is referenced, and both are freed.

      I suggest you go learn some basic computer science before you spout off online.

    116. Re:How about firefox? by Anonymous Coward · · Score: 0

      depending on the GC algorithm detecting them may be much more difficult or slower

      But not usually. In most GC systems, objects that aren't referenced from elsewhere are never checked for references themselves, so the GC will never even see a circular reference if it is safe to deallocate the objects in question. So in most cases no special handling or detection code is required: this is simply a non-issue.

  2. Not use IE? by Jawju · · Score: 1, Insightful

    You can't not run on IE...

    Um...I'll think you find I can actually.

    1. Re:Not use IE? by Anonymous Coward · · Score: 1, Insightful

      Um, he's not talking about using a different browser, he's talking about writing a website.

      Now most of the time you want as many people as possible to be able to view your site and as IE (unfortunately, but that's just the way it is) still has the biggest market share by far, writing websites that don't work with IE isn't really an option.

    2. Re:Not use IE? by Anonymous Coward · · Score: 0

      What the author of this page means is that you cannot write pages which do not run on Internet Explorer, because it is without a doubt the most widespread browser out there (about 90% of the share apparently).

      By "you," the author meant you the web designer, not you the visitor.

    3. Re:Not use IE? by Jawju · · Score: 1

      When writing a website, it does not have to be written for IE if the website is part of an intranet and none of the users use IE. You are right for the rest, but not for my case, hence my original comment stands.

    4. Re:Not use IE? by Anonymous Coward · · Score: 0

      Why not simply write standards-based code and forget all the special IE specific bullshit? Standards are there for a reason and it's sad that people put up with and in fact code for non-compliance. IE is one of the worst offenders, yet amost every page I go to is coded specifically with IE in mind and often has IE specific code. Right now, MS has no reason to change anything because the average person rarely encounters problems on a website. Coding for IE contributes to the problem, not solves it.

    5. Re:Not use IE? by b100dian · · Score: 0

      I understand that the grandfather was pointing the negation of negation (you can't not run == you can not not run == you can run).

      --
      gtkaml.org
    6. Re:Not use IE? by PDAllen · · Score: 1

      Would you care to take a guess at how many web apps get written for non-IE intranets, as compared to how many get written for everything else?

      You might as well say that cars don't need handbrakes because you and your mates never ever drive anywhere that's not flat.

    7. Re:Not use IE? by Jawju · · Score: 1

      This topic isn't about standards - it's about buggy IE and memory leaks. Just because a web app is written for an intranet doesn't mean it doesn't follow the correct standards. So once again, I'll reiterate that *I* don't have to worry about IE.

    8. Re:Not use IE? by ByeLaw · · Score: 1

      I think what he's saying is that under windows alot of applications invoke IE to do web based stuff, not that it's easy to change your browser to another one.

      I use firefox myself, but when writing code that needs to display HTML (rendered) I will use the common ActiveX control to do that...which is IE.

    9. Re:Not use IE? by zootm · · Score: 1

      He means that when developing a DHTML app, it must run on IE if you want it to have a wide audience. Obviously some audiences this doesn't apply to, but they're a clear minority.

    10. Re:Not use IE? by Sanguis+Mortuum · · Score: 0, Offtopic

      You understand wrong

    11. Re:Not use IE? by Sanguis+Mortuum · · Score: 0, Offtopic

      And I see no reason to view the website of someone who confuses "there" and "their"....

    12. Re:Not use IE? by Skye16 · · Score: 1

      Sure, if it's your website. But when you're a small business trying to sell your goods, you're not going to tell potential customers "hey, you're using IE, so go fuck yourself". That's like telling everyone wearing jeans who came into your physical store to get the fuck out. Methinks you're not going to be in business too long.

    13. Re:Not use IE? by tomstdenis · · Score: 1

      not being a web-o-phile I dunno what this means. All I know is Google can make nice dynamic interactive pages that work with IE and Firefox.

      So maybe these "DHTML" developers are just narrowminded?

      I mean I'm sure there are many Win32GDI applications that don't work in X11 ... but ... if you're living in 2005 [as I am] you're aware of ... OTHER PLATFORMS.

      Why would you limit yourself to just one platform when others exist [which often have more merit anyways].

      Tom

      --
      Someday, I'll have a real sig.
    14. Re:Not use IE? by zootm · · Score: 1

      Exactly the point the guy was getting at in the original article. IE has some memory leak bugs, and with the tool linked you can get around them without too much trouble, making your system more multi-platform without much fuss. People were complaining that they wouldn't want to develop for IE anyway, or that they could generally do without, which is a little close-minded for a web app.

      Clearly it's valid when you completely restrict the terms (I'm writing for an intranet which only supports Firefox) but in general, not so good.

    15. Re:Not use IE? by dsci · · Score: 1

      when writing code that needs to display HTML (rendered) I will use the common ActiveX control

      Why not use the ShellExecute Win32 API call to use the default browser? That way, the user gets the html in the browser THEY chose, rather then you rendering in IE if they prefer FF or some other.

      Using ShellExecute is a single line of code (or a couple if you do some basic error checking), so it is not like it is harder to use.

      --
      Computational Chemistry products and services.
    16. Re:Not use IE? by Anonymous Coward · · Score: 0

      Nothing wrong with making pages that run with Firefox. But the point is, that is has to run in IE.

    17. Re:Not use IE? by tomstdenis · · Score: 1

      It has to?

      Again, self-fulfilling prophecy. The sooner you tell your users "use firefox or safari or opera or any number of others" the better off you and they'll be.

      I mean, here I am posting on slashdot, reading usenet and gmail, while checking up on my banking and reading web comics... I haven't booted a win32 box in over a year...

      You're likely to say "good for you tom, smartass, bahhumbug" or something like that. The point is, I'm not unique here. There are many more people in my camp [e.g. using OSS] and it's only going to grow.

      Companies which don't embrace newer [and often better though note I make the distinction] technology are going to just get left by the wayside.

      The only way IE can be improved [other than reliability issues] is through standards compliance. So design your websites to use W3C standards and if your users complain point them to Firefox and say "they take your security remotely serious."

      Tom

      --
      Someday, I'll have a real sig.
    18. Re:Not use IE? by KillerDeathRobot · · Score: 1

      That double negation doesn't equate to "you can run" but rather "you must run."

      --
      Thinkin' Lincoln - a web comic of presidential proportions
    19. Re:Not use IE? by prshaw · · Score: 1

      But it doesn't display the page in a window in my application, and how do I interact with the page that is displayed?

      If all I wanted to do was popup some page and forget about it ShellExectute would work, but often I need to interact with the page once it is displayed or have it as part of my window.

    20. Re:Not use IE? by Anonymous Coward · · Score: 0

      Not at the moment, perhaps - but just wait until DRM is well established, and all your applications are belong to us!

      WG

    21. Re:Not use IE? by ClosedSource · · Score: 1

      Even if you're using IIS and ASP.NET it isn't really necessary to use IE and client-side JavaScript. Sure, not all ASP.NET features can be used without it, but it's not a necessity.

      It seems to me you shouldn't depend on JavaScript being enabled on the client side.

    22. Re:Not use IE? by zootm · · Score: 1

      Well, the point here is that with the whole AJAX "thing", people have realised that they can make client-side systems be a lot more responsive than the simple request/response model. GMail and Google Maps are good examples of rich client-side apps written in JS. A lot of people wish to emulate these new systems, and so there's been an increased interest in JavaScript development. I think that's the basic point.

    23. Re:Not use IE? by ClosedSource · · Score: 1

      Clearly client-side techniques are going to be more efficient. It's nice to know that Google has caught up with everybody else's understanding of this.

      The problem is that the user can easily turn off AJAX futionality in their browser. It may not matter to Google whose business model is a bit murky, but for many businesses this is a fatal flaw.

    24. Re:Not use IE? by zootm · · Score: 1

      This is true. Of course, providers who are providing an apt-enough service should have the clout to ask people to turn it back on, or at least provide an exception for their service. Enabling JavaScript is safer and more convenient than installing a full-fledged app on your system for things like this, and a lot of the time JS is disabled by users simply because it rarely has "any good use". With popup blockers combatting a large proportion of the "downside", and systems fast enough to have a significant "upside" with JS systems, it might be time for people to re-evaluate their policies here.

      I think that time will tell on this issue, though. Since the only large implementations of this system that are currently widespread are written by Google, it's hard to tell its real validity right now.

    25. Re:Not use IE? by Stankatz · · Score: 1

      Well, you could use a different browser during development to avoid all of your resources being sucked up by IE, and then check for compatibility later.

    26. Re:Not use IE? by EvanED · · Score: 1

      You can follow the standards and still not have it work right in IE.

      I'm running into a problem now of IE not supporting CSS2 selectors of the form tag[attribute=value]. This is perfectly compliant CSS2, which has been around for about 8 years now, yet IE doesn't support it. So I'm gonna have to come up with a workaround.

    27. Re:Not use IE? by Anonymous Coward · · Score: 0

      You can so not run IE. I haven't run IE in years. Whether its Firefox or Safari, I have a Mac, and I never can run IE6. Suprisingly, I almost *never* have problems with websites on the internet. The problem is with corporate intranets. They were crappily coded and tested in the first place, and most companies aren't likely to go back and change the sites. Companies know they can just make everyone use IE, so they write their internal websites to it, and not to standards. On the internet, you as a web developer never know what you are gonna get, so you can't do that.

    28. Re:Not use IE? by jbbrwcky · · Score: 1

      I agree. Don't use IE, don't develop in it, tell people on your web pages to get a decent browser. Eventually Microsoft will get with the crowd and stop trying to control standards and actually conform to them.

      Ok meds time ...

      --
      Honi soit qui mal y pense.
  3. Not Microsoft's Fault by robojamie · · Score: 4, Funny

    The true source of IE memory leaks?

    Korean outsourcing

    1. Re:Not Microsoft's Fault by Trollstoi · · Score: 0, Offtopic

      Just referencing one of the previous articles doesn't make this funny.

    2. Re:Not Microsoft's Fault by baadger · · Score: 0, Offtopic

      In Korea only memory leaks from IE

    3. Re:Not Microsoft's Fault by m50d · · Score: 0, Offtopic

      You must be new here

      --
      I am trolling
    4. Re:Not Microsoft's Fault by xtracto · · Score: 0, Offtopic

      In Old Soviet Korea only IE Leaks Mem... mmm forget it

      --
      Ubuntu is an African word meaning 'I can't configure Debian'
    5. Re:Not Microsoft's Fault by ceeam · · Score: 0, Troll

      You mean that in Korea only old people take a leak?

  4. Pesty Internet Explorer Memory leak ... by weighn · · Score: 2, Informative

    here's something that helped me with this recently:

    --
    Mongrel News all the news that fits and froths
    1. Re:Pesty Internet Explorer Memory leak ... by Anonymous Coward · · Score: 0

      don't overextend yourself man, I know your time is limited and we really didn't need all that information about what it is you were recommending or why it's worth a look see or how it applies to the current discussion

      I didn't spend 12 credits to get the mind reading skill for nothing you know

  5. Quick and dirty fix by Anonymous Coward · · Score: 3, Informative

    1. Open a new tab. Type "about:config" without quotes into the address bar and hit enter/click Go.

    2. Right-click anywhere, select New, then Integer. In the dialog prompt that appears, type:

    browser.cache.memory.capacity

    3. Click OK. Another dialog prompt will appear. This is where you decide how much memory to allocate to Firefox. This depends on how much RAM your computer has, but generally you don't want to allocate too little (under 8MB), but if you allocate too much, you might as well not do this. A good recommended setting is 16MB. If you want 16MB, enter this value into the dialog prompt:

    16384

    (Why 16384 instead of 16000? Because computers use base-12 counting. Thus 16 megabytes = 16384 bytes. Likewise, if you want to double that and allocate 32MB, you'd enter 32768.)

    4. Click OK to close the dialog box, then close all instances of Firefox and restart. If your Firefox still uses the same amount of memory, give it a few minutes and it should slowly clear up. If that fails, try a system reboot.

    1. Re:Quick and dirty fix by jrumney · · Score: 4, Funny
      Because computers use base-12 counting

      Please, tell us more about the fascinating workings of computers you seem to know so much about.

    2. Re:Quick and dirty fix by BRonsk · · Score: 0, Funny

      I entirely stopped using Windows a month ago

      And your new OS do not have Firefox ?

    3. Re:Quick and dirty fix by Anonymous Coward · · Score: 0

      Of course it does. I'm using Firefox right now. I wouldn't have switched to Linux if it didn't have all the software I frequently used while I was on Windows -- Firefox, Emacs, gcc... :-)
      It's just that I've never had a problem with firefox on Linux.

    4. Re:Quick and dirty fix by iceborer · · Score: 2, Funny

      (Why 16384 instead of 16000? Because computers use base-12 counting. Thus 16 megabytes = 16384 bytes...)

      I think you made a simple typo in this sentence. It should read Thus 16 megabytes = 1283918464548864 bytes.

    5. Re:Quick and dirty fix by jakuis · · Score: 0

      I'm so glad humans are using this base-60 system. I can easily find use for all these fingers!

    6. Re:Quick and dirty fix by gerddie · · Score: 1, Funny

      Probably that 12 is base 14?

    7. Re:Quick and dirty fix by Anonymous Coward · · Score: 1, Informative

      Because computers use base-12 counting
      Thus 16 megabytes = 16384 bytes

      (ha!)

      Mods: If this is informative, you are definitely insane.

    8. Re:Quick and dirty fix by rbarreira · · Score: 1

      Yeah, but from what I've seen, the number is supposed to be entered in Kilobytes, so 16384 is the number you should enter if you want to allocate 16 MB for Firefox.

      --

      The AACS key is NOT 0xF606EEFD628B1CA427BEA93A9CA9773F
    9. Re:Quick and dirty fix by matt+me · · Score: 1

      it's called dexidecimal 0 1 2 3 4 5 6 7 8 9 A B :P

      because 12 is a well known power of two. 2 ^ (2/3)? maybe. i can't figure out gnome calculator.

    10. Re:Quick and dirty fix by P-Nuts · · Score: 0
      because 12 is a well known power of two. 2 ^ (2/3)? maybe

      12 = 2^3.584962501... actually

    11. Re:Quick and dirty fix by Anonymous Coward · · Score: 0

      No, the problem is you can't figure out math. 2 raised to the power of 2/3 must be a number lower than two.

    12. Re:Quick and dirty fix by russlevy · · Score: 0

      He's counting in base 14.

    13. Re:Quick and dirty fix by PeterPumpkin · · Score: 1

      Why 16384 instead of 16000? Because computers use base-12 counting. Thus 16 megabytes = 16384 bytes. Likewise, if you want to double that and allocate 32MB, you'd enter 32768.

      Uh...base 12? No. The answer you are looking for is that 16k kilobytes (16 megabytes) is what you want to enter, not 16 thousand kilobytes.

      A kilobyte is 2^10 (1024) bytes.

      A megabyte is 2^20 bytes, OR 2^10 kilobytes.

      So if you want 16 megabytes expressed in kilobytes (as this firefox setting wants), you take 16*2^20 megabytes, and divide by 2^10 kilobyte, giving you 16*2^10 (16384) kilobytes.

    14. Re:Quick and dirty fix by Unnamed+Chickenheart · · Score: 1

      That part isn't informative; but the browser.cache.memory.capacity thing was indeed so (if it works as it's claimed).

      There's no "Part of this was quite informative, but the submitter of this posts made a fool of himself with some obvious, dead-wrong claims"-moderation.

      --
      urd
    15. Re:Quick and dirty fix by Anonymous Coward · · Score: 0

      is anyone else fascinated by the options that Firefox doesn't think are worthy of a place in configuration dialogs?

    16. Re:Quick and dirty fix by ignavus · · Score: 0

      Well, mine's 8% more powerful than yours - I run base-13!

      --
      I am anarch of all I survey.
    17. Re:Quick and dirty fix by Nintendork · · Score: 1
      Apparently, he's a real geek that made his own DuoDecimal computer. Sheesh!

      -Lucas

    18. Re:Quick and dirty fix by PagosaSam · · Score: 1

      Firefox on a PDP 8? No that's 12 bits... still expressed as 4 octals.

      --
      :q! Oh crap, not again...
    19. Re:Quick and dirty fix by Master+of+Transhuman · · Score: 1

      "Because computers use base-12 counting" /. - where a typo REALLY means something!

      Like five pages of posts as everybody demonstrates their community college math degree.

      --
      Richard Steven Hack - This sig is TOO GODDAMN SHORT TO DO ANYTHING USEFUL WITH! MORONS!
    20. Re:Quick and dirty fix by David+Gould · · Score: 1


      Yes, this new learning amazes me, Sir AC. Explain again how sheep's bladders may be employed to prevent earthquakes...?

      --
      David Gould
      main(i){putchar(340056100>>(i-1)*5&31|!!(i<6)<< 6)&&main(++i);}
    21. Re:Quick and dirty fix by DeafByBeheading · · Score: 1

      Yes. If they don't want to overwhelm users, why not just have a nested config menu hierarchy, with an "Advanced..." sub-menu offering a "More Advanced..." sub-menu, which subsequently gives an "Even More Advanced..." option, and so on...

      --
      Telltale Games: Bone, Sam and Max
  6. Has anyone used firefox? by MaGGuN · · Score: 5, Insightful

    Everytime I try to download ten things firefox goes up to 300 megs of memory usage and 99% cpu usage. And I took the screenshots to prove it.

    Frankly, I think you can find problems and features you hate in most programs of a certain size, what matters is that you find the tool for the job that you consider the best match for your needs.

    1. Re:Has anyone used firefox? by Anonymous Coward · · Score: 0

      This should help you.

    2. Re:Has anyone used firefox? by BRonsk · · Score: 0

      Your problem is in the plugin architecture, Not firefox. I found out that every time I see FF using up 99% CPU, I just needed to close the page with the huge PDF or the huge flash loaded to fix it. Hardly FF's fault... Of course, this would never happen with IE: It is not tabbed and hence becomes unmanageable after a 5-8 concurrent windows opened at the same time.

    3. Re:Has anyone used firefox? by Errtu76 · · Score: 2, Interesting

      Haven't noticed the memory issue, but i can confirm the cpu usage being 99%. In my case it was caused by an embedded Flash movie on the site. As soon as i closed that (or even rightclicked within the flash movie and choose 'stop' or whatever) things went back to normal.

    4. Re:Has anyone used firefox? by molnarcs · · Score: 2, Informative
      Thanks for your comment! This has been driving me nuts. I installed firefox on various hardware, and on low and machines, it really really sucked. So I've been arguing for some time that the gecko engine (I notice the cpu-usage spikes as well) is really slow, compared to ie, opera or khtml. And always someone replied that he or she tried it, and it wasn't slow, like here. I had (and still have) little reason to doubt those comments, but they are run contrary to my own experience.

      Also, it's not on one machine, its on multiple machines running various OSs. The lower you go, the slower gecko gets. On a 533mhz machine (IBM PC 300) with 96Mb ram, firefox (and epiphany, tried both,hoping that epiphany might contain some gecko optimizations) was slower to render some pages while doing nothing else than opera was while compiling software in the background. The slowness is less pronounced on newer hardware, and curiously on windows! But I can still see it very clearly on my home pc (athlon xp 2400+ with 512RAM) if I do something CPU intensive in the background (like having multiple compiles running, downloading a huge file, listening to music at the same time). On an idle computer, you won't really see the difference, but if you have a cpu-monitoring tool running (I h ave kcpuload) you can easily notice that gecko to render the same pages with the same speed as khtml, grabs a lot more of the CPU than the latter. When those resources are scarce, it will be significantly slower than browsers built on other engines (Opera seems to kick ass along with khtml).

    5. Re:Has anyone used firefox? by Durzel · · Score: 1

      I think the first sentence of your second paragraph would me more appropriate if reworded to say:

      "Frankly, I think you can find problems and features in most programs you hate"

      Fact is - the principal of this application could be applied to any number of apps, and I'd wager there are just as many memory leaks in Firefox, Photoshop, CuteFTP or pretty much any program you care to mention.

      You could write the same app and call it a "Firefox memory leak finder", but I doubt it'd make front page news as in this case.

    6. Re:Has anyone used firefox? by MaGGuN · · Score: 1

      Yes, it is true that for things you like and cherish you learn to live with the flaws or even remain completely ignorant of them, "it's just the way it works", like women for example.

      However I disagree that you are likely to find equally many memory leaks or other flaws when comparing applications of different sizes and complexity. I am sure you didn't mean this literally and I get your point, but if I find a reason to argue and/or make a point I often find myself doing that.

    7. Re:Has anyone used firefox? by mopslik · · Score: 1

      Everytime I try to download ten things firefox goes up to 300 megs of memory usage and 99% cpu usage.

      I'm always fascinated when people get upset that a particular application uses a large amount of memory or CPU cycles. It really doesn't do you any good when your computer is in an idle state -- you're eating energy and doing nothing. If I was never supposed to use 300M of RAM, then why did I buy a 512M stick? What good is my fancy whizz-bang processor if it's looping through no-ops 99% of the time?

      Of course, if this 99% CPU usage / 300M memory consumption is causing your system to slow down while you're working on something else, then I guess it's a problem. But normally, when I'm surfing around clicking on multiple things to download, I'm generally doing only one task -- surfing. And when I am working on something else, I generally try to split things up so that I'm not downloading 10 things in the background. Maybe do 5 first, then do the other 5 later.

      Obviously, YMMV, depending on what you're doing.

    8. Re:Has anyone used firefox? by laffer1 · · Score: 1

      I understand what you mean. Firefox tends to be slower on some platforms than others. I have noticed the plugins added to the browser have a big impact on memory usage and sluggishness though. Firefox in windows occasionally crashes on me using flash, but often renders very fast. However, comparing firefox on my mac laptop to Safari or even IE often results in a big loss for firefox. The browser is slow and constantly crashes. The only OS I've never had problems in is FreeBSD 5.x. I suspect thats just the extra resources available.

      It does point to low memory causing the problem though. My desktop has 1 gig of ram, but my laptop only has 256mb of ram. It is a 1.0 release though.. it will get better. Its already better than the full bloated mozilla suite.

    9. Re:Has anyone used firefox? by MyHair · · Score: 1

      I've noticed Firefox (Windows) helping to peg the CPU when I'm doing something else on the PC when Firefox should be sitting idle in the background. It seems to compound any virus scanning activities or other file-access intensive apps like grep or gzip (Cygwin or native Windows compiled). My impression is that it's hooked into filesystem calls somehow, because if I close Firefox the other app goes much faster. I always close Firefox now before running disk-intensive tasks.

      I don't run it on Linux enough to tell if it does the same thing there.

    10. Re:Has anyone used firefox? by lisaparratt · · Score: 1

      I was under the impression most modern machines executed a halt instruction during idle time, which generally reduced their power consumption. They were then woken up when an interrupt went off to signify the beginning on the next time slice/something important happening.

    11. Re:Has anyone used firefox? by mopslik · · Score: 1

      Could be. I'm sure that there have been numerous improvements to reduce energy consumption during idle time.

      I was just commenting on the fact that lots of people see a high CPU usage while a program is running and think "that's really bad" without considering that, if you weren't using the CPU cycles for anything else anyway, then why not dedicate them to that particular program?

    12. Re:Has anyone used firefox? by molnarcs · · Score: 1
      Yeah, I noticed the memory too - that's why I haven't even tried it on 64meg machines :( WinXP is where the slowness is less pronounced (but maybe because I haven't stress tested it, I mean running cpu intensive tasks in the background), but it is there on FreeBSD (my desktop machine and the workstation I tried) and linux as well. (Slackware on my desktop machine).

      I tried several tweaks I found on the net (some specifically aimed at low end/high bandwidth machines) but they didn't make much of a difference - even though it was possible to limit memory usage. The problem is mem+cpu, in other words, it is a resource hog (which you won't notice if you run it on a more or less idle machine). Increasing memory has a huge impact on its performance, but it doesn make it on par with opera or khtml.

      Disclaimer: I don't write this because I don't like Firefox. I write it because I care about it and free software in general. I spent considerable time for writing howtos and tips for various OS software I install on the machines in the small comp. lab I sysadmin: gimp, gaim (the most popular among the users), firefox (made it the default, yet some more computer savy users put back the IE icon on the desktop, so it was not that successful), etc. Also, I have the get firefox logo on the page near my username (www.tftpanel.hu) as well as on another site I maintain. I'm afraid however, that as the feature gap b/w IE and FF closes (with tabbed browsing and all in IE 7) users would find even less reason to switch (ordinary users, no ./ readers mind you), especially if FF's performance is not on par with other browsers. There are three workstations that run FreeBSD with Blackbox and a simplified menu serving as "internet terminals" (that's how I named them so not to scare users with *nix talk). They are actually useful and well liked, but I had to install Opera on them, because they previously ran win98se (which was a nightmare to maintain), and my users only know that previously "the internet worked fine" (IE 5.x was not slow even on these machines) and now (with firefox) it doesn't (terrible load time, and clearly perceptible rendering slowdown). So firefox, after a short stay was replaced with Opera (even though opera is not a perfect solution either, because it has issues with more pages than FF).

      As sad as it sounds, sometimes only publicity of a problem convinces developers to shift gears or change attitude (like in apple vs. khtml case) - and I don't see that (negative) publicity for the slowness of ff and gecko. I see lots of apologies, and I understand that, because we care, and we want Firefox to succeed, but actually this does disservice to FF on the long run. FF devs should realize that there is a serious issue (I know they know about it, they just don't see their users clamoring for change). Then they should throw whatever resources they have (and they have more than some other, equally important open source projects) at the problem. I wait with great anticipation for 1.1, but frankly, seeing the attitude of some of their developers, I don't have high hopes - I'm thinking of criticizing khtml devs for not cutting corners and keeping correctness, compactness (only 140.000 lines?) and cleanliness of code as important as features, even though those qualities make optimizations easier.

    13. Re:Has anyone used firefox? by Anonymous Coward · · Score: 0

      I was just commenting on the fact that lots of people see a high CPU usage while a program is running and think "that's really bad" without considering that, if you weren't using the CPU cycles for anything else anyway, then why not dedicate them to that particular program?

      It's not the issue of it eating up resources while it's actually doing stuff.

      It's the issue of it sitting there idle while you're doing something else and deciding it's going to sieze up all your resources, so when you come back to do anything on the system it's INCREDIBLY-slow to get back up to speed. And it is indeed a Firefox-specific problem, because if it's not open the issue doesn't happen. If it's idle, why does it need to grab any resouces?

      The stupid thing is, this issue has been around forever it seems and it's basically been ignored, to the point of some people denying it exists even.

      Maybe they DID fix it in 1.1 finally. If they did, they've managed to eliminate a HUGE gripe at last (their timeliness in doing so is another matter entirely though). If they didn't eliminate it... well, they're going to continue getting killed by some people over it, and they have a point because it's a dumb thing to let go this long...

    14. Re:Has anyone used firefox? by Narchie+Troll · · Score: 1

      It's not Gecko that's slow, it's Firefox.

      Seamonkey's Browser is very speedy and stable, even with dozens of tabs. I've never had any performance issues with it. My main computer is about the same as your home PC, but I've run it on machines as low-end as a PowerBook 3400c with decent performance.

      I haven't actually shut Seamonkey down for weeks, mind you. No memory leaks. No weird bugs.

      Firefox barely even starts up on machines that old.

    15. Re:Has anyone used firefox? by runderwo · · Score: 1

      They are talking about eating the CPU. You're talking about eating memory. Two completely different issues.

    16. Re:Has anyone used firefox? by poofyhairguy82 · · Score: 1
      So I've been arguing for some time that the gecko engine (I notice the cpu-usage spikes as well) is really slow, compared to ie, opera or khtml.

      Firefox renders slower and requires more CPU power to render pages than IE. This is true on all platforms, even my IE running in WINE in Linux displays pages in less time than in Firefox. I don't know if Safari is faster, but for older machines I know Konqueror is. Firefox loves memory and CPU and uses them both a lot. I don't think this is a gecko problem, as the newest mozilla displays faster than Firefox. For older machines I prefer to use Epiphany and Opera. The rest of the time I use Firefox because despite its resource problems it is my favorite program ever (based on looks, extensions, use of tabs in a mannor I prefer, etc.). I would never use IE again because its lack of tabs drives me nuts in seconds. I mean, I have a 2.6 GHz CPU and half a gig of RAM to mostly browse the web, so I care not if Firefox is actually using a good percent of those resources.

  7. To be specific... by Anonymous Coward · · Score: 1, Informative

    The type of garbage collection Internet Explorer uses screws up when you use ActiveX objects (e.g. XMLHttpRequest) or the DOM. More information is available from the comp.lang.javascript FAQ notes.

    Personally, unless I'm writing a web application, I say screw the users that use that substandard browser. Their browser will eat up more and more memory until they crash on some other website. This would have been fixed four years ago if Microsoft hadn't killed Internet Explorer development once they cornered the market.

    1. Re:To be specific... by mister_tim · · Score: 1

      Umm, just out of interest - but who do you write applications for? I understand the frustration at Microsoft, but it's a bit harsh to take it out on your users or customers, isn't it? I know there's the argument that MS won't patch these things until enough average users complain, but I don't think that's really the case. They know there are issues, but obviously haven't fixed everything yet for one reason or another. A few more people complaining because IE stuffs up after running your application won't make much difference. And beyond that, they'll probably blame your application first anyway.

    2. Re:To be specific... by Anonymous Coward · · Score: 0

      I can understand working around IE rendering errors etc to make your site presentable to users. After all, for 90% of users you'll look like an idiot if you don't.

      However, I think working around and fixing IE memory leak issues is a step too far for web developers. Fuck them. Seriously. So IE leaks? That's quite obviously a bug, and a Microsoft bug at that. There's no way that a page should be able to sneak down into your computer and leak all your memory. If it can, it's the browser author's problem, not the people writing for a quite standard interface (W3C standards) that Microsoft already do a poor enough job of rendering. If they want to crash too... well... their customers do have a choice, sorry.

      I mean for fucks sake. We're not in business to waste our money debugging IE. It is bad enough that we have to work around their display bugs. If the client has a problem with memory leaks in IE then they can damn well go download a free browser that doesn't have those problems and shut the fuck up. Either that or call Microsoft and complain. They're the ones who makes the goddamn product, let them waste time with debugging tools trying to figure out what causes it.

      I don't get your attitude. "It's a bit harsh to take it out on your users or customers, isn't it?". I'm not. I'm not taking anything out on anybody. I'm just writing websites that.. lo and behold... work on correctly written software that bothers to free what it mallocs. Or even garbage-collected software. If there's any "taking out on customers" going on, it's Microsoft taking things out on THEIR customers - you don't have a problem if you're not using their POS software. As for knowing there are issues and not fixing them... How long ago did IE6 come out? When was the last time they did any serious work on implementing better rendering? Right, fucking never. So what have they had time to do, if not fix their memory leaks?

      And if they blame my application... well.. they can just go get any other browser and try it out. That's like blaming a program for crashing all the time when your computer has a DIMM loose. Or a cracked motherboard. Microsoft aren't obliged to write an OS that will work on a broken PC without complaint or issues, why should web developers be expected to do the same for a broken browser?

      "Microsoft support, how can I help you?"
      "Hi, I have a faulty graphics card and now Windows won't run correctly. It keeps crashing!"
      "Good lord, we'd better send a technician over to figure out exactly what is wrong with your card, then write a patch to allow Windows to work without interruption! We'll be there tomorrow morning at 9am."

      I mean really. In your fucking dreams, mate.

    3. Re:To be specific... by indifferent+children · · Score: 1
      I understand the frustration at Microsoft, but it's a bit harsh to take it out on your users or customers, isn't it?

      Tobacco companies are evil, but smokers have been informed, and bear most of the responsibility for their lung cancer. Anyone stupid enough to browse the Internet with IE deserves what they get. Think of it as a non-/. kind of Karma.

      --
      Censorship is telling a man he can't have a steak just because a baby can't chew it. --Mark Twain
    4. Re:To be specific... by loqi · · Score: 1

      GP points out that memory leaks aren't exactly a smoking gun when it comes to web surfing. No one is going to know what web application is leaking memory, unless it's one they use almost exclusively.

      --
      If other reasons we do lack, we swear no one will die when we attack
    5. Re:To be specific... by Anonymous Coward · · Score: 0

      who do you write applications for?

      A few more people complaining because IE stuffs up after running your application won't make much difference. And beyond that, they'll probably blame your application first anyway.

      Did you bother reading my comment before replying to it? Notice I said "unless I'm writing a web application". Meaning I'll work around the problem for web applications, but not for websites.

  8. The cure for the plague by whatsup_will · · Score: 1

    due to this tool being out on the net, we will have more I.E. based memory leaks so that all I.E. computers stop running. Rejoice, the Internet will be free of this plague that we call Explorer.

  9. best plug for it by sl4shd0rk · · Score: 2, Informative

    would be sealing it in a cement box and chaining the lid shut. I cannot believe that after all the
    vulnerabilities, bad experiences, and poignant advice, people still continue to use it.
    The alternatives aint perfect but they are a hell of a lot better.

    "Microsoft Internet Explorer 6.x with all vendor patches installed and all vendor workarounds applied, is currently affected by one or more Secunia advisories rated Highly critical" ...

    "Currently, 20 out of 81 Secunia advisories, is marked as "Unpatched" in the Secunia database."

    http://secunia.com/product/11/

    --
    Join the Slashcott! Feb 10 thru Feb 17!
    1. Re:best plug for it by t_allardyce · · Score: 1

      without a doubt the absolute only two reasons people use IE are:

      1) because its already installed on most machines
      2) because everyone else uses it

      which by coincidence are the same reasons most dictatorships stay afloat..

      --
      This comment does not represent the views or opinions of the user.
    2. Re:best plug for it by fwitness · · Score: 1

      My brother is a high-end corporate kind of guy. He *refuses* to even try firefox. I've tried lulling him with tabbed browsing, pop-up blocking to no effect. I tried informing him about security holes, leaking memory and crashing problems to even less effect. I tried pointing out the articles in major, mainstraim news media who stress you should *absolutely not* use IE.

      Nothing. Some people love the 'it should just work' option and will continue to use it until someone fixes it. They do not, and will not understand that a product released by a company as large as Microsoft could be so horrid, and continue to be sold. In most markets this is true, you can't sell a defective product and continue to be in business. However, if no one understands, or cares, that your product is inherently broken, it'll continue to satisfy them. Especially if it's free and can't even be easily removed from your other product. /rant

      --
      -- I have fans? Wow.
    3. Re:best plug for it by Anonymous Coward · · Score: 0

      Solution: Tell him you would respect his advice on business, where he to offer it. Then ask him to respect your advice on computers.

      I assume you're in a computer-related field. It's hard to be an expert everywhere, so you take advice from experts where you aren't, and they can do the same.

    4. Re:best plug for it by aminorex · · Score: 1

      > My brother is a high-end corporate kind of guy.

      I think God likes him better than you. You should kill him and hide the body.

      --
      -I like my women like I like my tea: green-
    5. Re:best plug for it by stor · · Score: 1

      > My brother is a high-end corporate kind of guy.

      I think God likes him better than you. You should kill him and hide the body.


      Because as we all know, being a high-end corporate drone is nearing the pinnacle of human existence.

      Cheers
      Stor

      --
      "Yeah well there's a lot of stuff that should be, but isn't"
  10. Making sites not run on IE by ajs318 · · Score: 2, Funny

    Actually, it's very easy to make a site not run on IE; as the following example shows.

    <?
    if (preg_match("/MSIE/i", $_SERVER["HTTP_USER_AGENT"])) {
    header("Location: http://www.mozilla.org/products/firefox/");
    exit();
    };
    ?>
    <html>
    <head>
    <title>This site will not display in Internet Explorer</title>
    .
    .
    .
    </head>
    <body>
    .
    .
    .
    </body>
    </html>

    --
    Je fume. Tu fumes. Nous fûmes!
    1. Re:Making sites not run on IE by Anonymous Coward · · Score: 1, Insightful

      If it's that easy, then how come that code will block Firefox users too under many circumstances? Not to mention Opera users will get blocked by default.

      For a start, if you are going to send different content based upon the User-Agent header, you need to send a Vary header to indicate you are doing so.

      Short tags are non-portable too, so even your PHP knowledge is crappy.

    2. Re:Making sites not run on IE by kf6auf · · Score: 2, Insightful

      Don't be an @$$. Remember how annoying it was when people said that sites only displayed right in IE 5.5 or "better"? Yeah, you do. Did that get you to use IE? No, it didn't, unless it was your bank or something. So guess what? 90% of people won't go to your non-IE site. Period.

    3. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      Uh, don't you need to set the status code too? Or does PHP do that for you? How does it know if you want 301 or 302?

    4. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      Remember? Pffft, my bank recently redesigned it's online banking service to make it bigger, faster, newer, better, and god knows what else.

      So now I get a nice banner across the top of the screen saying "Your browser is not supported. We only support IE 5.5 & later" or something similarly insulting. Of course, the site itself works perfectly fine, except that the extra code they inject for that "incompatible" banner screws up some sections. Yank the code, it displays fine.

      Personally, I'd be happier if 90% of the IE users out there didn't hit my site, so my server's email addresses and other information doesn't get stuffed into their cache for their myriad of worms, spyware, etc. to sift through and find.

      IE users = lowest common denominator. They literally distort the bell curve downward.

    5. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      PHP defaults to 302. See http://php.net/header.

      The second special case is the "Location:" header. Not only does it send this header back to the browser, but it also returns a REDIRECT (302) status code to the browser unless some 3xx status code has already been set.
    6. Re:Making sites not run on IE by m4dm4n · · Score: 2, Insightful

      If the web designer is willing to go to the effort of excluding +-90% of browsers, the site probably isn't worth viewing anyway.

    7. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      Why waste CPU on the regexp for an IE user when you could use strpos() instead?

    8. Re:Making sites not run on IE by ajs318 · · Score: 0

      Just what the hell is it with this whole "online banking" thing? There are exactly two reasons why I ever visit my bank: to draw money out through the hole-in-the-wall machine, and to pay money in through the hole-in-the-wall machine. I know from my payslip how much I get paid each month; and, since the only way any money can come out of my account is if I either sign a cheque or use the HITW, then I also know how much I have left. I'm not really earning enough interest to bother with; but the few pence they pay me appear on my monthly statement, which is usually to be found somewhere in my recyclables box.

      Unless and until there is some software that lets me print my own pound notes on my own printer, and upload photographs of cheques and cash from my own digital camera to my bank account, I really see no use for online banking.

      --
      Je fume. Tu fumes. Nous fûmes!
    9. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      He also uses a regex when a simple string match will do. PHP is already programming for dummies, OP should consider giving up; there's not much more to say really.

    10. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      With the level of maturity, knowledge and programming ability you're displaying here, it's no surprise you don't see the need for online banking. Assuming you are able to command worthwhile renumeration when you make it through puberty, you may then understand why managing your finances online is convienient.

    11. Re:Making sites not run on IE by ceeam · · Score: 1

      Depends. If some book excludes 90%+ of readership based on some required knowledge it may still be worth reading. Like if it is some academic publication. If your site deals with... uhm, web-design or security issues you may well wish that people do the first step to continue reading. Plus - you have it wrong, it may not be "to go to the effort of excluding" but to "save the effort" of supporting not-quite-up-to-date browser technology.

    12. Re:Making sites not run on IE by Anthony · · Score: 1

      My bank upgraded it's "runs just about anywhere" net banking website. The upgrade pre-release had an annoying "we don't support your browser message". I whinged and a few days later they dropped the code. Nice bank. Thanks.

      --
      Slashdot: Where nerds gather to pool their ignorance
    13. Re:Making sites not run on IE by KiloByte · · Score: 1
      Or it's a niche site.

      The niches I can name outright include:

      • corporate intrawebs
      • highly-technical sites for non-MS environments
      • addons.mozilla.org
      For the first, the corporate policy forbids IE anyway. For the second, I don't expect kernel developers or KDE guys to come from a Windows platform. And for the third, what's the point?
      --
      The creatures outside looked from Alt-Right to Antifa; but already it was impossible to say which was which.
    14. Re:Making sites not run on IE by MrDrBob · · Score: 1

      Oh, it's much easier than that. ;)

      <?xml version="1.0" encoding="iso-8859-1"?>
      <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.1//EN" "http://www.w3.org/TR/xhtml11/DTD/xhtml11.dtd">
      < html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en">
      <head>
      <title>I won't run on IE. I'm amazing :)</title>
      <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=iso-8859-1" />
      <meta name="author" content="Philip Withnall" />
      <script src="randomfoobar.js" type="text/javascript" />
      <!--The magic bit is the XML-compliant ending on the <script> tag. IE dies when it encounters this...-->
      </head>
      <body>
      </body>
      </html>

    15. Re:Making sites not run on IE by SenseiLeNoir · · Score: 1, Insightful

      When you become an Adult/Married, and havign a decent job, and move out of your mother's basement, then, maybe your views will change.

      --
      Have a nice day!
    16. Re:Making sites not run on IE by ajs318 · · Score: 0, Offtopic

      Because if I did it that way, some smug, flash git would invariably have pointed out that using strstr or strpos is non-extensible, non-scalable, or somesuch. Them's the breaks when you choose a language with at least two ways to do everything {some of which you can't help suspecting might only ever have been put there just for the sake of there being more than one way to do it}. It's like when your mother buys you two sweaters for christmas -- whichever one you wear she will ask you what's wrong with the other one?

      --
      Je fume. Tu fumes. Nous fûmes!
    17. Re:Making sites not run on IE by varmittang · · Score: 1
      I prefer:
      <!--[if IE]><p>Please Note: You are using a Microsoft Internet Explorer browser. To display this site as intended, you will need to use a more modern browser, such as <a href="http://www.opera.com">Opera</a> or <a href="http://www.getfirefox.com">Firefox</a>.</p>< ![endif]-->
      --
      -----BEGIN PGP SIGNATURE-----
      12345
      -----END PGP SIGNATURE-----
    18. Re:Making sites not run on IE by skiman1979 · · Score: 0

      I'm an adult, married, have a decent job, and own my own home, and I rarely use online banking. I only really use it on occasion to check my balances, and that's usually over the phone or MAC anyway. I have yet to pay a bill through online banking.

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    19. Re:Making sites not run on IE by ajs318 · · Score: 1

      I haven't lived with my parents {whose house, incidentally, does not have a basement} since before there was any such thing as Internet banking, and I still don't see what good it is. The only benefit I can see is that you can check your bank balance online. But I already know {within a reasonable margin of error} how much money is in my account, by subtracting the amount that I have withdrawn from the amount shown in the "net pay" box on my payslip; and I also know it's not going anywhere unless I make a withdrawal. Which usually requires me to go to the bank -- or a bank, they all accept one another's cards nowadays -- and stand at the HITW machine, so I'm hardly likely to forget I've done it. After which, I can pay all my household bills in real pound notes at a post office -- which I have to walk past anyway on the way back from the bank. Alternatively, I can pay for my shopping by cheque {which, requiring a signature, is more secure than chip and PIN}; but that still requires me to go to the supermarket, so I can actually take my empty bottles and cans to the recycling centre there and bring my full bottles and cans back home.

      --
      Je fume. Tu fumes. Nous fûmes!
    20. Re:Making sites not run on IE by kmortelite · · Score: 1

      I felt the same as you for a long while. Then I reluctantly tried it, and I can't go back. Online banking rules.

      I can set up my payments so that they are paid on time, every time, without worrying. I can also easily put this information in my budget and see how I'm doing. It's really great. I can time payments so the money stays in my interest-bearing account for as long as possible and still gets there on time. Sure, it might not be much on my phone bill, but for my mortgage, that's quite a bit.

      So I guess what I'm saying is don't give it a try unless you're willing to accept the chance that you'll love it and need it.

    21. Re:Making sites not run on IE by skiman1979 · · Score: 1

      Actually I'd be willing to give it a try. However, my wife does not. Whenever I bring it up, she gets annoyed so I just leave her do it the old fashioned way.

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    22. Re:Making sites not run on IE by Anonymous Coward · · Score: 0, Interesting

      As a married adult male with a large mortage and steady job..no. The difference is that I'm in the UK and you are most certainly in the US. From what I've seen of banks whenever I've visted the states, the banks themselves actively hate their customers and seem to enjoy making life difficult. Whereas here in the UK the banks only secretly hate you, but almost everything is automatic (Wages are paid via. BACS, bills are paid by Direct Debit, almost everyone has a Debit Card). In general there is very little reason to ever have to interact with your bank in the UK, and when you do it's usually face to face. Besides checking your monthly statement(s), everything takes care of itself (Most of the time).

    23. Re:Making sites not run on IE by l-ascorbic · · Score: 1
      Alternatively, I can pay for my shopping by cheque {which, requiring a signature, is more secure than chip and PIN}
      You what? How many cashiers actually look at the signature? A cheque may be marginally more secure than a signed debit or credit transaction, as at least that gets seen by the bank. Nevertheless, you can still get away with signing any scrawl. Signatures, are absurdly insecure. When I lost my Switch card a few years ago, it only took minutes before the person who'd nicked it to manage to make several large purchases with £50 cashback each time. With chip and pin he couldn't do that unless he'd managed to shoulder-surf for my pin, in which case there's worse things to worry about.

      As for your ability to mentally calculate your balance: you obviously have no direct debits, and don't make many other transactions. You may like to go through the palaver of carrying banknotes between bank and post office to pay bills. Maybe it's a nostalgia thing? Most people, however, prefer to not have to waste all of that time every month. It all seems a lot of hassle to avoid spending 5 minutes checking your transactions online, and either looking at the automated DD payments or doing them manually through BACS.

    24. Re:Making sites not run on IE by SenseiLeNoir · · Score: 1

      Ok, here it is from a Brit point of view.

      With my bank, I have 3 accounts, two savings, one current. One of the savings accounts provides a VERY good intrest rate. Online banking allows me to instantly transfer from my current account to my savings account, with the transfer occuring in seconds. Allowing me to keep as much money as possible in my Savings, and earning a lot more intrest, whilst also giving me the ability to transfer back to my current account when funds go low, something that cannot be done any other way with the sort of speed associated with online banking.

      Me and my wife do NOT share a joint account yet (for LEGAL tax reasons). SO money has to be transfered between us is done by online. Using cheques would mean that I woudl have to write a cheque, then she woudl need to find a ATM, or a bank to cash it in, and wait for the funds to transfer. Online its quick, and shows up clearly on the statement (instead of a reandom cheque number).

      I have two Credit Cards. Loads of bills (usually via Direct Debit, a sytem similar to standing orders). Via online banking, i can see when the money was taken out, and cancel any direct debit payment, without talking on the phone. Also payments to the credit cards, are done instantly, and quickly, wihtout the hastle of posting a cheque, and again, shows up clearly on the statement.

      Statements can be downloaded in CSV, Excel, Quicken or MS-Money formats.

      The bank site supports Firefox, and the bank takes some very sensible measures to protect against phishing, for example, if there is a case of many phishing emails involving the bank, they temporarily disable the ability to create new payment mandates, asking for you to phone in where they explain why, and are pretty good at explaining to the customerwhy the setting was done.

      ALso they use the login process to pass urgent security infomation, and phishing warnings.

      This doesnt mean i dont ever visit an ATM (i do need access to my money), but its need drops to simply withdrawing money/topping up my mobile.

      Also branch staff are very friendly and so is the telephone staff (who are based in the UK, and open 24x7).

      The point is, whereas Online banking doesnt replace everything, i find it a usefull component of banking, and is extremely valuable, and a must for any modern adult.

      --
      Have a nice day!
    25. Re:Making sites not run on IE by SenseiLeNoir · · Score: 1

      If your wife is any similar to my wife (and most women in the world) the best move is to simply NOT badger them. WOmen have this intristic defensive action when they are "told" to do something.

      Just go ahead and do it yourself, and she will follow, especially when you spend 3 minuites payign that bill via the computer, and she has to go out in pouring rain to find a branch.

      --
      Have a nice day!
    26. Re:Making sites not run on IE by Pollardito · · Score: 1

      i suppose one could take full advantage of the techniques that cause this IE memory leak and eventually the IE users would stop coming to your site on their own

    27. Re:Making sites not run on IE by ajs318 · · Score: 1

      You're right I don't have direct debits. They are out-and-out evil. If someone wants money out of my bank account, they can ask me to my face; and I'll fetch it and give it to them. But no way are they going to dip their own grubby fingers in. I don't have a savings account: I have a mortgage, and no savings account will pay more interest than that is costing. Not even the endowment policy that was supposed to pay it off; but fortunately the buildings insurance will cover it. If I had any amount of money bigger than loose change, it would come off the mortgage.

      If a supermarket cashier fails to check a signature and a fraudulent transaction goes through, then the supermarket is liable for the amount {and the cost probably will come out of that cashier's wage packet, by way of teaching them a lesson}.

      Shoulder-surfing for PINs is easier today with the Chip and PIN payment machines in shops everywhere, and people not properly used to the system reading their number out aloud. But if you hold a knife to someone's throat, they will gladly tell you their PIN. And while you continue to hold the knife and look menacing, your accomplice can go back into the store with the card, and a phone -- the victim's own is as good as any -- to tell you whether the PIN is good, or whether you need to increase the pressure a bit. I was almost thinking of patenting this, but the twist is that I would make a claim for a method for being robbed -- so it would be the victim, not the perpetrator, who owed me royalties. After all, you may never catch the perp, but you already have the victim, and they ought to be insured against inadvertent patent violations.

      And it's not a waste of time sticking with cash! I have to walk into town at least once a week anyway to do various stuff. I pass several HITWs and a post office. I can pay everything in cash -- you can't buy electricity or gas any other way anyway; after all, they have to have your meter key / quantum card to put the credit onto!

      --
      Je fume. Tu fumes. Nous fûmes!
    28. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      You got screwed in the marriage game.

      Probably one of the last times you got screwed too.

    29. Re:Making sites not run on IE by nugneant · · Score: 1

      Why don't you belt the bitch across the face next time she gets annoyed? That'll shut her up and teach her to be on her rag all the time. Might fix her obseletion problem as well.

    30. Re:Making sites not run on IE by skiman1979 · · Score: 1

      actually she pays all our bills from the comfort of our house using the mail-in forms. One of us just drops it in the mail (usually me). Easier if I just have her do it, that way I save the 3 minutes of online banking :)

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    31. Re:Making sites not run on IE by skiman1979 · · Score: 1

      _|_( 0-0 )_|_

      --
      Having a smoking section in a public restaurant is like having a peeing section in a public swimming pool.
    32. Re:Making sites not run on IE by Suddenly_Dead · · Score: 1

      That doesn't seem to work on the SP2 Internet Explorer. Little bar at the top tells you that it blocked some potentially dangerous thing from running, and if you allow it nothing happens.

    33. Re:Making sites not run on IE by l-ascorbic · · Score: 1
      Retailers have only been liable for fraud since chip and pin was brought in.

      Why would anyone need to go to the trouble of going into the store and using the stolen card and pin if they can just take the victim to the atm like they've always done?

      You do realise that most people don't have prepay electricity and gas, right? They pay the bills at the end of the month.

    34. Re:Making sites not run on IE by Anonymous Coward · · Score: 0

      Acutally I used this code with some morederation. Everyone that opens my homepage with IE (or browser identifying itself as IE) will get my opinion of the browser, but will still be able to select items from the menu. It's just a check to see if a page has been set and, if not, show the warning label if the browser is MSIE.

      Let's just hope that all the people using IE and visit my site will heed the warning.

    35. Re:Making sites not run on IE by magefile · · Score: 1

      Dies how? I did this just yesterday in XHTML; it didn't die, it just didn't show anything (even View Source said it was empty). Then again, in Firefox, nothing shows up after that script tag until you have a close script tag. Which is really dumb, as that is *exactly* what self-closing tags are for!

    36. Re:Making sites not run on IE by drxenos · · Score: 1

      That because your Mommy and Daddy pay all the bills. It use to take me two hours to pay bills each week. With online banking, it takes five minutes, and I no longer go through checks, envelops, and stamps like crazy.

      --


      Anonymous Cowards suck.
  11. Um..I'll have a shot by SimianOverlord · · Score: 3, Interesting

    because it's your job?

    I don't know why you geeks have such a downer on Microsoft for writing buggy software. If it didn't, do you have any idea about how many of you would be out of a job? The capitalisation that flows from Microsofts inability to write good operating systems is immeasurable. If it worked first time - would there be any engineers?

    It's sort of analogous to cruise liners. Used to be, because ships weren't terribly well made, a clipper had a huge crew of dirty, scurvey suffering swabbers. Nowadays, you have one captain and a big computer. Currently, IT graduates, computer consultants and systems administraters are that huge crew of disease ridden reprobates, serving on the creaking, rotten, old fashioned Microsoft vessel. And all you want is to be out of a job?

    Where's the logic in that??

    --
    Meine Schwester ist sehr, sehr reizvoll - Nietzsche
    1. Re:Um..I'll have a shot by Anonymous Coward · · Score: 0

      because it's your job?

      It's not his job to hide the mistakes of the world's biggest software company.

      If he's writing a website (as opposed to a web applciation), then if he doesn't fix the leaks for that poor, beleaguered little Microsoft, all that will happen is that a surfer will accumulate more and more debris as they continue to surf. Eventually, they'll grind to a halt on some other website. Why is that his problem and not Microsoft's? If they wanted to fix the memory leak, they've had four years to do it.

    2. Re:Um..I'll have a shot by Anonymous Coward · · Score: 0

      I don't know why you geeks have such a downer on Microsoft for writing buggy software. If it didn't, do you have any idea about how many of you would be out of a job?

      If Internet Explorer conformed to the CSS 2, HTML 4.01, PNG 1.0, DOM 2 and HTTP 1.1 specifications, I could build websites and web applications in half the time it currently takes me.

      Think about it. Web developers are working all day long. Wasting a few hours a week simply because the world's biggest software company didn't bother fixing a few bugs and keeping up to date isn't acceptable. Over the course of a career that sort of thing amounts to WEEKS of your life that you simply won't get back.

      I don't know about you, but I can think of plenty of things I'd rather do with weeks of my life than fix Microsoft's bugs for them.

    3. Re:Um..I'll have a shot by shywolf9982 · · Score: 1

      Spose you have a point on that. And, I might add, this also allows me to blame Microsoft for even my own faults. If something I write doesn't work on windows, my boss starts bitching against Microsoft instead of asking me if I'm sure I did anything wrong. I know, this encourages developers to write even more shitty programs, that doesn't work and requires other people to work on it, making the end user (which, thanks to Microsoft uber-simplified interfaces, is usually clueless) have to pay for a lot of work that wasn't really needed. I 3 uncle Bill

      --
      nbody2002:If you can read this you may be addicted to the internet
    4. Re:Um..I'll have a shot by databyss · · Score: 1

      "I don't know why you geeks have such a downer on Microsoft for writing buggy software. If it didn't, do you have any idea about how many of you would be out of a job?"

      Since this article deals with web developers... are you implying that without Microsofts buggy software, there wouldn't be an internet? There would be no browsers?

      If MS wrote quality bug-free software, there would be no internet... I see.

      --
      Hmmm witty sig or funny sig? Maybe elitest techy sig!
    5. Re:Um..I'll have a shot by Lonewolf666 · · Score: 1

      Ooh, I'm sure the dirty, scurvey suffering swabbers cursed their jobs too. Even if it pays the rent, you do not necessarily enjoy that sort of work.

      --
      C - the footgun of programming languages
    6. Re:Um..I'll have a shot by Anonymous Coward · · Score: 0

      Euhm... You got some more of these bullsh*t analogies? As an engineer you have the choice NOT to work on MS-based projects. You can't save a sinking ship anyway...

      Working with MS-products is about patching 99% of the time. Working with other products is about creating enhancements.

      I choose to enhance ;)

      Regards, Vince

    7. Re:Um..I'll have a shot by Anonymous Coward · · Score: 0

      It's not his job to hide the mistakes of the world's biggest software company.

      Yes it is. For better or worse, 90% of his users will be using IE. If it grinds to a halt, the user will blame the website - and rightly so, because it's possible (as the article explains) to write websites that work properly under IE, despite it's flaws.

    8. Re:Um..I'll have a shot by gl4ss · · Score: 1

      inefficiency doesn't create wealth.

      wealth creates free time.

      wealth creates fun. ...and you would have some other job, but you would be richer.

      --
      world was created 5 seconds before this post as it is.
    9. Re:Um..I'll have a shot by PDAllen · · Score: 0

      Bright And Early Monday Morning:

      PDA: Hi Boss, I was reading /. over the weekend and this guy made a great point. As an engineer I have the choice not to work on MS-based projects. So I'm going to write web apps which don't bother fixing the broken MS implementations of standards, they'll work fine on Firefox.

      BOSS: WHAAAT?!

      PDA: It's great news - I can get the code out in a quarter of the time and with less bugs. In fact, I rewrote the existing site just over the weekend to prove my point!

      BOSS goes red.

      BOSS: You mean YOU are the reason why our sales are down 90% over the weekend? You're fired! SECURITY!!! Escort this person off the premises immediately!

    10. Re:Um..I'll have a shot by Skye16 · · Score: 1

      Actually, if it accumulates the garbage, but then moves off to another site, they'll probably just blame that site.

      Regarding writing websites that work properly under IE, despite it's flaws: true enough, but it's also possible to build a mansion at the bottom of the ocean (at least nearish to shore). Sure, it would probably cost trillions of dollars, but it's possible. That doesn't necessarily mean it's easy. : ]

    11. Re:Um..I'll have a shot by mdew · · Score: 1

      thats understandable, I've been in the same situation before where mozilla, firefox and opera would show the website perfectly, but not IE. Thus you have to find the timeconsuming work arounds :( One can only hope this will change when IE7 comes out.

      --
      http://www.fanboy.co.nz/adblock/
    12. Re:Um..I'll have a shot by medgooroo · · Score: 0

      Yeah, and we want wars to keep soldiers in business.

      --
      Brain(s): 0.0% user, 1.3% system, 0.1% nice, 98.6% idle
    13. Re:Um..I'll have a shot by zulux · · Score: 1

      And all you want is to be out of a job?

      As I've migrated my clients to better software and more robust operating system, I find that my business grows with them. Instead of spending my time patching and fixing - I spend more time programming and integrating. After migrating off of NT to OpenBSD for firewalls for example - they would ask me to firewall in users based on rank and lunch hour (port 80 would be open for all during lunch) for example.

      Just my experience.

      --

      Moneyed corporations, non-working 'poor' and criminal prisoners are turning productive citizens into tax-slaves.

    14. Re:Um..I'll have a shot by Anonymous Coward · · Score: 0
      Currently, IT graduates, computer consultants and systems administraters are that huge crew of disease ridden reprobates, serving on the creaking, rotten, old fashioned Microsoft vessel.

      This one goes straight into my sigfile.
    15. Re:Um..I'll have a shot by Anonymous Coward · · Score: 0

      I do not think buggy software and low expectations overall are good for me. This deterrs many companies from investing in development and adoption of trully innovative and high quality products. This also allows to hire lousy programmers for cheap and they can eventually put together some crap that can be shipped to customers. That's not the market I want to compete in.

    16. Re:Um..I'll have a shot by hey! · · Score: 1

      I could build websites and web applications in half the time it currently takes me.

      Which is hard to say whether it's good or bad depending on the price elasticity of demand for web development services among other things. Suppose people would buy twice as much web services at half the price -- you're pretty much at status quo. If they buy more than twice as much (say it becomes more important to the usual way people do business), then you're better off.

      If, on the other hand they buy pretty much what they do now, then there will be only half the jobs doing what you do.

      --
      Post may contain irony: discontinue use if experiencing mood swings, nausea or elevated blood pressure.
    17. Re:Um..I'll have a shot by crabpeople · · Score: 1

      you kind of have a point but i would really rather spend my time investigating interesting unix bugs and designing and implementing solutions than rebuilding outlook PST files for the 4th time this month. or disinfecting spyware or explaining to a user why they shouldnt ignore the helpful little triangle that says "WARNING: delayed write failed" on their primary hard disk, instead of just ignoring it and bitching that "i lost all their work" because there roaming profile didnt save to the server because their network card is flakey.

      sorry that was kind of a run on sentance

      --
      I'll just use my special getting high powers one more time...
    18. Re:Um..I'll have a shot by pebs · · Score: 1

      I don't know why you geeks have such a downer on Microsoft for writing buggy software. If it didn't, do you have any idea about how many of you would be out of a job?
      [...]
      And all you want is to be out of a job?


      Sorry, but I don't want a job dealing with Microsoft's (and other vendor's) problems. I want a job writing software that does what its supposed to. If the vendors and third party tools I depend on work without issue that makes my job and my life that much easier and allows me to deliver solutions quicker and satisfy my customers.

      I accept that, as a developer, I have to deal with all kinds of issues that arise. But I'd rather have these issues reduced to a minimum so I can spend most of my time creating, not fixing. That's one of the reasons I avoid Microsoft products when developing a solution.

      An analogy to your argument is "why do you geeks hate spyware/adware so much? you get paid to clean up the mess, don't you?" My job is not to scrub down Windows machines, and I don't want it to be, even if I was an admin. If I was an admin I would rather be busy writing utilities to automate business processes, not sitting around running adware-removal and virus programs.

      Granted, there is a demand for removing a lot of the ugliness that surrounds computing (viruses, adware, spam, insecurity), but to actually be glad that they exist so you can get paid is just idiotic, there is so much other creative work that needs to be done.

      --
      #!/
  12. First, is it a problem? by foreverdisillusioned · · Score: 2, Informative

    As I understand it, Firefox makes aggressive use of unused resources. If you're not having any slowdowns, then take a deep breath and realize that it's just doing what it's supposed to do.

    If you do have accompanying slowdowns, then you have a specific, rare problem. See the other replies you've gotten so far for suggestions.

    1. Re:First, is it a problem? by MaGGuN · · Score: 1

      You mean that when firefox stalls completely, is unresponsive after 5 minutes of waiting and consumes 99% cpu time during the whole sèance, "it's just doing what it's supposed to"? I think not. I have to kill it to fix it, hardly a design feature. It's not a single occurance thing, it is a problem I have had over several ff editions. And I can provoke it whenever I want.

    2. Re:First, is it a problem? by Secrity · · Score: 1

      "You mean that when firefox stalls completely, is unresponsive after 5 minutes of waiting and consumes 99% cpu time during the whole sèance, "it's just doing what it's supposed to"? I think not. I have to kill it to fix it, hardly a design feature. It's not a single occurance thing, it is a problem I have had over several ff editions. And I can provoke it whenever I want.

      I have never encountered this problem with Firefox and I have occasions where I have several (10 to 20) concurrent downloads running. What are you doing to provoke this behaviour, and have you reported it to the Firefox design team?

    3. Re:First, is it a problem? by Bigman · · Score: 1

      I was saving some PD J'pegs by the time-honoured right-click-save-as from an FTP site in Firefox the other day; every 30 or so pix the disk started to thrash and the system ground to standstill. This was on XP (I was at work) but I've noticed similar stuff with the Linux version at home. I assumed it was FF cleaning up the image cache but it still ain't right. It doesn't happen often enough to bother me so I'd not thought about reporting it.
      I've never had lockups/slowdowns on actual downloads, but then I'm on dialup at home so I never try more than a couple at a time!

      --
      *--BigMan--- Time flies like an arrow.. but personally I prefer a nice glass of wine!
    4. Re:First, is it a problem? by CastrTroy · · Score: 1

      It will if you try to open a 14 meg XML file. Firefox tries to parse the entire document before doing anything.

      --

      Anthropic principle: We see the universe the way it is because if it were different we would not be here to see it.
    5. Re:First, is it a problem? by MaGGuN · · Score: 0
      and have you reported it to the Firefox design team?

      You got me there. I will try to find space to confirm it and remove doubt, then report it.

    6. Re:First, is it a problem? by Anonymous Coward · · Score: 0

      Never had this problem and I've worked with 8 machines with FF from highend to 8 year old machines.

      All work fine. You must have some set up that is causing the issue. Report it to FF dev if you haven't already done so.

    7. Re:First, is it a problem? by Anonymous Coward · · Score: 1, Informative

      What are you doing to provoke this behaviour (sic), and have you reported it to the Firefox design team?

      Every Slashdot article on Firefox has people talking about this problem. If they design team doesn't know, then they are too far lost to be of any use. I kill Firefox about once a day. I mean kill, not quit. Many times it is far faster to relaunch the program than it is to get it to open a new tab for Google.

      The problem isn't while you are doing multiple things with Firefox. That works great. Do those things, leave a bunch of tabs open, and then minimize Firefox. Now do a bunch of file I/O and over an hour or so. When you reopen Firefox it is unusable. After minutes it will draw the screen, then when you click a tab it takes half a minute to draw that one. Try to quit and it takes half a minute to draw the "ok to close all these tabs" dialog. Drives me crazy and I'm sure it sends plenty of people back to IE.

      Don't believe me? Fine. Look at all the other people commenting here. Do you really think we are part of some grand conspiracy?

    8. Re:First, is it a problem? by Anonymous Coward · · Score: 1, Insightful

      and have you reported it to the Firefox design team?

      Have you seen how many open bug reports are in Bugzilla?

      Sure he should report it, but when there's "NEW"/"CONFIRMED" memory leak bugs from 5 years ago that are going unfixed, I wouldn't put too much work into it.

    9. Re:First, is it a problem? by packetl0ss · · Score: 1

      There is a rather long bug report open about this. Bug 76831. A workaround mentioned in it is to type: about:config in your address bar. Right-click the bottom pane, and add a new "boolean" value with the name config.trim_on_minimize, and set it to false, and then restart Firefox.

  13. got mod points? by weighn · · Score: 0, Offtopic
    Just referencing one of the previous articles doesn't make this funny.

    does it make this funny?
    "funny" may not get you karma, but it can bring grins to dozens.

    --
    Mongrel News all the news that fits and froths
  14. Don't Bother by FellowConspirator · · Score: 4, Insightful

    If you work around a problem, it hides from the user that the problem exists. The demand to have it fixed, therefore, dissipates and developers accept the onus to repeat work-arounds everytime they deploy something. Ultimately, the browser fails to improve, and the costs of errors are passed from the vendor (Microsoft) who never fixes the problem to the public (developers that waste time with work-arounds).

    Anyway, if you write things specifically for IE -- then you've already got a more serious problem that you have to address first. There's no excuse for what you already know to be dismal practice.

    1. Re:Don't Bother by Hektor_Troy · · Score: 1

      So ... what you're suggesting is that people write webpages for IE, that don't crash is as such, but cause it to leak even more than usual, causing more and more people to be pissed off by it's horrible design?

      --
      We do not live in the 21st century. We live in the 20 second century.
    2. Re:Don't Bother by buro9 · · Score: 1

      " If you work around a problem, it hides from the user that the problem exists."

      This is VERY true.

      Which is why on my site I purposefully avoid giving a hoot that IE can't display PNG's properly.

      When I tell people to use Firefox, it's an added sense of wonder when they do and see that suddenly the images don't have grey backgrounds after all. It also helps hammer home just how cruddy the software (IE + Windows... it is an integral part of the OS afterall) that they were using actually is.

      It's the same with bugs. Providing that the bug doesn't lose me a user or breach security, I will leave the nagging ones there and let the user see it.

      Dev teams (esp. MS ones) are far proactive about fixing bugs when hordes of dumb users are complaining on their forums and community sites, than when a few geeks speak out... if we do the covering up for them, then all we're doing is prolonging the life of the bug.

    3. Re:Don't Bother by Anonymous Coward · · Score: 0

      You're right, people should stop using those tools which put the onus of cleaning up the developer. Such languages and tools are completely obsolete and substandard. If a language can't automatically manage it's memory, then it should never be used in a real world production scenario.

      Next thing you know Microsoft might start releasing this C++ shit I've heard about, and that does the same bullshit!

    4. Re:Don't Bother by poot_rootbeer · · Score: 1

      If you work around a problem, it hides from the user that the problem exists.

      And why is that bad practice? I thought software designers are SUPPOSED to make things effortless and problem-free for the user?

      The demand to have it fixed, therefore, dissipates

      Users don't demand to have things fixed. They overwhelmingly either shrug and live with it, or they abandon your product entirely and go to your competitiors. And those that DO complain will be complaining to YOU that your site is broken, not to Microsoft that their browser is broken.

      Anyway, if you write things specifically for IE -- then you've already got a more serious problem that you have to address first.

      Only if you consider "keeping the customer satisfied" to be a serious problem. When there's money on the line, business pragmatism is ALWAYS going to take priority over technical idealism.

    5. Re:Don't Bother by Sky+Lemon · · Score: 1

      Sounds like you've never had to professionally support a large enough group of users to understand.

  15. Why people is always... by ratta · · Score: 0

    looking for complicated solutions to simple problems? Use Firefox and you are done, without having to look for IE memory leaks. I know of peole that prefers having to solve very complicated problems with crashy win32 apps, then writing a couple of simple commands on the Linux prompt :-)

    --
    Wondering why i am doing so strange posts? I am trying to get a "+5,Flamebait" or "-1,Insightful" rating.
    1. Re:Why people is always... by webphenom · · Score: 0

      Are you saying that using Firefox is a "complicated solution to a simple problem"?

      Amen. I finally agree with a ./er.

      --
      ----- Open Source = More Secure (mmmmkay)
    2. Re:Why people is always... by Anonymous Coward · · Score: 0

      See, this is why a lot of people hate Slashdot. You get knee-jerk "linux rules!" "firefox rules!" "microsoft sux!" responses from people who don't bother to actually read the original post (let alone TFA). You obviously misunderstand his problem.

      When he says "you can't not run on IE," he's not referring to a personal preference for IE as a browser.

      He's stating the problem as a WEB DESIGNER. For pretty much any publicly available page, somewhere around 90% of your userbase will be on IE. That's a fact in the current market. Maybe that will sometime in the next year go down as far as 80%, but it's a big number.

      What this means for a DESIGNER is that you MUST make sure your page renders properly, with minimal memory leakage, in IE. Because that's what the USERS are running.

      It's not reasonable or helpful to tell all your users to switch to Firefox, or to build a page that only works well in Firefox. It would be grossly irresponsible to build a page that looks great in Firefox, but crashes IE. And if your boss notices such a page, and you tell him "Well, all those IE users can just switch to Firefox," you'd better have a resume handy.

      Yes, it sucks that you as a web designer/developer have to deal with these issues, but that's how things are. You don't get to pick your users' software for them. So you have to do what you can to make what you designed run for them. And (while I'm not a fan of slasvertisement), that's the author's point--he's trying to make it easier to do so.

  16. even better by szo · · Score: 1

    if you make links that contain '\'-s. IE will convert them to '/'-s and the webserver will convert the links to 404.

    Szo

    --
    Red Leader Standing By!
  17. Will Internet Explorer 7 fix the existing leaks? by antdude · · Score: 1

    I wonder if the upcoming IE7 will even fix these existing memory leaks.

    --
    Ant(Dude) @ Quality Foraged Links (AQFL.net) & The Ant Farm (antfarm.ma.cx / antfarm.home.dhs.org).
  18. Well keep up the good work by ishrat · · Score: 1

    Please keep up the good work and maybe Microsoft will buy you. Or do we need to revert back to using netscape?

    --

    There's always sufficient, but not always at the right place nor for the right folks.

  19. Does it matter? by cablepokerface · · Score: 1

    They are after all web apps. They run on a client browser. Browser instances come and go. Client computers get rebooted. We don't really make web sites that will slurp up all the resources on the client, but if there is a small leak, I'm not too worried. (Not saying it's a good thing though).

    I guess as long a your development platform (whatever it is you use, we use .NET) doesn't leak, your app stays nice speedy and responsive. Especially with web apps, client uptime is important, but not that important.

  20. ECELLENT Work by MajorDick · · Score: 1

    I am working on a farly large asynchronous web app and , well memory leaks are the norm, I am by session end , usaually an hour, consuming some 125 meg for the IE instance.

    I will be using this on a regular basis. COOL Stuff at first glance, very cool....

  21. NOOB... by Anonymous Coward · · Score: 1, Informative

    This is very interesting, are memory leaks only a problem when running an application and the memory is returned when it closes, or is the memory gone and eventually you need to reboot?

    Where does the memory leak to?

    1. Re:NOOB... by Negatyfus · · Score: 2, Funny

      Well, the memory remains allocated to the application. The thing is, it's a programming bug. The application allocates a piece of memory but never releases it, not even when it's not needed anymore. In a managed environment like .NET or JVM, a garbage collector periodically checks whether a certain piece of code or memory is still active, and when it's not it gets "collected" (freed).

    2. Re:NOOB... by Anonymous Coward · · Score: 2, Interesting

      On un*x the memory is returned when you close the app. Usually that is the case on NT based (XP is just NT 5.1) systems as well. In Windows 9x normal memory is often returned but USER/GDI (only 64k of each) memory that has been leaked is lost until the next reboot. In Windows 3.x once USER/GDI memory is used by an app it can never be freed even if the app is very well behaved and tries to free all memory on exiting.

    3. Re:NOOB... by petermgreen · · Score: 1

      no it checks if its still referenced. depending on your design referenced does not nessacerally mean still in use.

      --
      note: i'm known as plugwash most places but i screwd up registering that here somehow in the past and now can't register
    4. Re:NOOB... by Tim+C · · Score: 0, Offtopic

      You could argue that if it's referenced then it's in use by the reference, but we're definitely arguing semantics there.

    5. Re:NOOB... by Monkelectric · · Score: 1

      For the purpose of implementing a VM referenced does mean in use :) Thats about as close to declaring intent as one can get.

      --

      Religion is a gateway psychosis. -- Dave Foley

    6. Re:NOOB... by Anonymous Coward · · Score: 1, Funny

      This is very interesting, are memory leaks only a problem when running an application and the memory is returned when it closes, or is the memory gone and eventually you need to reboot?

      Usually operating systems will free memory allocated to an application when it exists. There are probably ways to confuse every operating system and prevent this, though.

      In any case, it's generally considered bad form to ever rely on the OS to free your memory for you (at least in languages where you have to manage the memory), and leaks that accumulate in your main loop are obviously a big problem.

      Where does the memory leak to?

      If the leaked memory does not share a page with often-used memory in a separate allocation, it eventually gets push out to the pagefile. Eventually (could take a LONG time) the application will exhaust its address space and die, but it won't really affect other applications too much. (there's less virtual memory available, but you're probably in trouble anyway if you're that close to the limit)

      If the leaked memory DOES share a page with other goodies, it'll eat up part of your physical memory and ultimately lead to more heavy swapping, slowing down the machine.

      Most likely you'll end up with some combination of these two. Smaller leaks will tend toward using physical memory, larger ones (relative to the machine's page size) toward pagefile.

    7. Re:NOOB... by Anonymous Coward · · Score: 0

      Win9x is the same as 3.x on these issues: 1) These (primitive) OS's don't tag memory allocations according to the process that allocated them, so even regular heap memory that's left standing cannot be reclaimed until reboot. And 2) the idea of 3.x resources not being freed when the app frees them is completely preposterous of course. If you properly select your brushes and bitmaps et al out of your device contexts and then delete both GDI objects and DC's, everything is peachy-keen.

    8. Re:NOOB... by ScrewMaster · · Score: 2, Funny

      Normally, it leaks out onto the surface upon which the computer is resting, however I have connected some surgical rubber tubing to my computer and have thus routed the outflow into the sump in my basement, where it is periodically flushed into the rain sewer. I'm not entirely sure whether this is environmentally sound, or not, and I would appreciate anyone with more experience in proper disposal techniques for leaked memory giving me a heads up.

      --
      The higher the technology, the sharper that two-edged sword.
  22. Ships != platforms by Lifewish · · Score: 1

    Once you've built your ship, that's it. No-one's going to try constructing a small mansion on top of it, regardless of its stability.

    Bug-free operating systems and browsers, however, make it much easier and enjoyable to build fantastic castles in the air^Winternet. That's the part of the web designer's job that is actually enjoyable.

    We'll always need more software. Having a stable platform just means the work gets interesting and innovative faster.

    --
    For the love of God, please learn to spell "ridiculous"!!!
  23. Not true by phongleland · · Score: 0

    I develop web service applications for a pretty big printer/mailing facility in Los Angeles, and the web site requires all users to use Firefox (even on Mac). This company service hundreds of other companies, so there are thousands of users. Never once did anyone complain about having to use Firefox. I say web developer should just ignore the IE market share. Out of principal, I'll never again check to see if anything I do works on IE. Screw IE

    1. Re:Not true by GIL_Dude · · Score: 1

      Have fun going out of business. The rest of the developers in the world will eat your lunch. Wait until your marketing folks try to sell services to a large (50,000+ computers) company and they get laughed out of the office when they won't work on IE. Wonder who the marketing suits will come after?

    2. Re:Not true by eric_brissette · · Score: 1

      I wish I could do that... unfortunatly, I work for a University, and we have to worry about piddly things like accessibility.

      Developing only for one browser would make my job much easier.

    3. Re:Not true by phongleland · · Score: 1

      My company and I are doing quite well, thanks. From a professional standpoint, the choice I fell I made correct for employees and customers. Every once in a while, each of us have to stand up on principal and shed our fear of losing money. Try it sometimes.

    4. Re:Not true by phongleland · · Score: 1

      ADVO

    5. Re:Not true by WinterSolstice · · Score: 1

      Well, I work at a large company. Our system image has IE, but nearly everyone uses firefox. So many, in fact, that people say "site doesn't support firefox" when they have to send out an incompatible link for some reason.

      Priniciples are important. I'm glad you stand up for yours.

      -WS

      --
      An operating system should be like a light switch... simple, effective, easy to use, and designed for everyone.
    6. Re:Not true by doublem · · Score: 0

      shed our fear of losing money

      Clearly, you're not in the U. S. A.

      That's not an American attitude AT ALL!

      --
      "Live Free or Die." Don't like it? Then keep out of the USA
    7. Re:Not true by dsci · · Score: 0

      That's not an American attitude AT ALL!

      Sure it is. I'm American and I care MUCH more about principle than money. Not everyone is a greedy jerk.

      Of course, I ain't rich either, but I really don't care.

      --
      Computational Chemistry products and services.
    8. Re:Not true by Shazow · · Score: 1

      Heh I would very much like to be with you, on the whole "dropping IE" dealie, except that I find it takes more effort to make things cross-compatable with Opera than it does with IE.

      A simple DOM-replacement function is all it takes for IE (and putting the 'var's in front of the variables). Opera simply hasn't implimented some javascript/DHTML/CSS features yet.

      - shazow

    9. Re:Not true by Mant · · Score: 1

      IE still massively dominates the market. So if you actually want people to use your site (or your client does), you are going to have to code for it.

      It is nice you have an anecdote where you could ignore IE, but try it in another company, or under different circumstances and see what happens. If your boss said it had to work on IE, how much is your principle worth?

    10. Re:Not true by phongleland · · Score: 1

      Everything you say is true. Maybe I should clarify. Most public websites do not use or even need a lot of Javascript/DOM/CSS/DHTML/XML. There is always exception such as Google Maps and Gmail. Web developer, as opposed to Web designers, mainly work on intranet applications, that supports a define number of users. My point is that, even if this number is in the tens of thousands, I don't find a lot of resistence from my customers when I force them to use Firefox. IE's dominate market share may mean something when your customer base is in the millions, as you say, under different circumstance. But IE's market share is overrated in situation where Javascript/DOM/etc is actually used, because it's much simpler to convince to users to use Firefox. Of course, I'm in the unique position in that I only have to convince a handful of people of the benefits of Firefox and they force it on their employees and customers.

    11. Re:Not true by binary+paladin · · Score: 1

      Ignore IE? Develop for a single browser? These are very, very bad ideas.

      I'm an avid user of "other" browsers. I use more than just Firefox. I like Firefox fine, but I like Konqueror and Safari even better. Opera ain't bad either, but its quirks are too much for me to use regularly.

      Web standards are how we should focus our development and not simply on a single browser. Mind you, on the sites I develop there are often bonuses for people not using IE (:hover on things besides links being one of the most common as well as some sophisticated CSS that IE doesn't get) but everything still works and is perfectly presentable to IE.

      Force Mac users, when they have a compliant, modern browser, to use Firefox? What a joke. It might be superior in Windows, but on Macs Safari is king. It's lighter and it's WAY faster.

    12. Re:Not true by eclectro · · Score: 1

      Good call. Though it is actually saving money because of all the IE exploits you don't have to deal with it. This really is a stand that needs to be taken.

      If the website is IE only, it's not a website I will be visiting.

      I really amazes me the (unjustified) love affair some people seem to have with IE.

      --
      Take the cheese to sickbay, the doctor should see it as soon as possible - B'Elanna Torres, "Learning Curve"
  24. RTFA by Anonymous Coward · · Score: 2, Informative

    If any of you would RTFA, you'd find that the tool doesn't address leaks in Internet Explorer: It identifies web page code that cause leaks because the developer coded poorly. It doesn't matter what browser you use, people can still write web pages that will cause it to leak memory...

    1. Re:RTFA by jhurshman · · Score: 3, Informative

      Not exactly.

      It detects memory leaks that are due to the two separate garbage collection routines that IE employs for DOM objects on the one hand, and JavaScript objects on the other. The leaks occur when a developer creates a circular reference between a JavaScript object and a DOM object, which is a very easy and natural thing to do.

      For example, this creates a memory leak in IE:

      someNode.onmouseover = function() { this.style.color = "#f00" };

      That is "poor" code only in the sense that it trips over IE's DOM/JS circular reference memory leak problem. Other browsers (e.g., Firefox 1.0.4, Safari 1.3+) handle that code with no memory leaks.

      So while it may be true that it is possible to write a web page that will cause a given web browser to leak memory, this DOM/JS problem is particularly evil because it occurs not with some obscure, complex, or malicious coding practice, but with one that is very common and natural.

      --

      Do not speak unless you can improve on the silence.
    2. Re:RTFA by shumacher · · Score: 3, Insightful

      While I don't think MSIE is inherently evil, I think I could argue that a browser that allows web pages (a resource that should not be trusted) to cause memory leaks is itself flawed. Part of the browser's job is to not expose the user to risk or instability while interpreting documents of unknown maliciousness and quality.

    3. Re:RTFA by Anonymous Coward · · Score: 0

      So you are saying that MSIE should deny my javascript memory just because it doesn't think I know what I am doing? How does it know if I am using the 10 images I am caching? or the 100? or the 1000? How does it know if I am going to release those images before I leave the page?

    4. Re:RTFA by cosinezero · · Score: 1

      Well, then perhaps you better get realistic here, because anyone can cause memory leaks in any JS-compliant browser in their own JS code.

  25. What I badly, badly want... by ceeam · · Score: 1

    I so wish that Mozilla ActiveX control were really ready to be drop-in replacement for MSIE ActiveX. So far it has issues that prevent this from happening (for once, tab key does not work in forms out of the box, or printing issues). I know that there are (probably) workarounds for those somewhere around but I'm just not all too ready to seek for those. Also - ActiveX for embedding Opera would be nice.

    Reasoning: I find that most of the apps I've been working on can benefit greatly from being done mostly in Web-style interface (you know what I'm talking about). But still they need something that you won't get right from the browser (like scanner interface or similar stuff). Having hybrid web/classic(*) applications turns out to be the sweet spot - it is easy to do, it is easy to maintain, it works mostly great (*"classic" can be Delphi, VC, or some Python/what-not toolkit, or maybe even WinForms).

    1. Re:What I badly, badly want... by Fuzzums · · Score: 1

      There seems to be an AX plugin for mozilla. Maybe it will help.

      But I'll never use it. AX opens all kinds of possibilities you don't want, like spyware and backdoors.

      --
      Privacy is terrorism.
    2. Re:What I badly, badly want... by Anonymous Coward · · Score: 0

      Well why not use something cross platform then - like Java or even Flash.

    3. Re:What I badly, badly want... by Zontar+The+Mindless · · Score: 1

      Parent is talking about an ActiveX control that allows MSIE to use the Gecko (Mozilla) rendering engine, and not a plugin that enables ActiveX in Mozilla.

      --
      Il n'y a pas de Planet B.
  26. Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 4, Insightful
    It seems to me people are now attacking IE now from 3 major angles:

    • Memory and resource usage
    • Rendering and adhering to web standards
    • Security

    IMHO, It's laughable to mock IE for memory leaks when Firefox is X (where X > 1) times worse at sucking up and retaining memory.

    People have relentlessly said the reason IE is faster to load than IE on Win32 is because it is "embedded into the OS" and somehow brushed off this advantage in favour of it's debateable disadvantage in terms of security. What's next? Will slashdotters crying out something along the lines of "WOW! IE, an embedded part of the Windows, has memory leaks! What does that say for the Operating System? You better use Linux!"?

    IE may be guilty of having a buggy implementation of web standards such as CSS2.1 but during the browser wars wasn't it IE producing functionality that hadn't even been drafted by the W3C yet?

    Isn't that "Internet Explorer's architecture made this app fairly easy to build." as testament to the browser?

    This tool is interesing and useful for developers and I thank jgwebber for writing it as I'm sure it'll be useful even to lowly personal developers like me.
    On the other hand i'm a bit baffled as to why this article wasn't simply written as "Hey IE has memory leaks, checkout this new tool by jgwebber and see for youself. Let's discuss how sucky Internet Explorer is and cover up all the flaws in competitor browsers".

    It would have had the same effect as CowboyNeal's unnecessary "(ha!)"'s and claims of IE's "horrendous memory leak issues" without a link giving some evidence for these claims for those of us without first-hand DHTML development experience.

    I truly wasn't aware of any serious IE memory leaks..i'm going to, go off and Google for information now using the cumbersome Firefox. Any links would be much appreciated since CowboyNeal didn't bother.
    1. Re:Worst IE hammering and flamebait article ever by Epistax · · Score: 1

      If there exists Product X with an issue, and all of its competitors have the same issue, you can't just declare it moot. MSIE has memory leaks, sucks to be them. Firefox has memory leaks, sucks to be them. How about Lynx and Opera? Do they both have memory leaks just as significant? If they don't, I hardly think they'd appreciate you deciding that it doesn't matter since both IE and Firefox have them.

      In conclusion, IE has memory leaks. Nya nya.

    2. Re:Worst IE hammering and flamebait article ever by ArsenneLupin · · Score: 2, Interesting
      I truly wasn't aware of any serious IE memory leaks..

      You soon will... Even if jgwebber had the best of intentions when he wrote the tools (help Web developers write their javascript in such a way as too be easy on IE's leaky memory manager), I'm quite sure that is not what it will be used for in most cases. Quite the contrary! How long until we'll see a new flurry of "worst viewed with Internet Exploder" sites that throw your PC into a swap orgy seconds after they opened up and showed you their obgoats?

    3. Re:Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 0

      IE may be guilty of having a buggy implementation of web standards such as CSS2.1 but during the browser wars wasn't it IE producing functionality that hadn't even been drafted by the W3C yet?

      No, it was Internet Explorer adding proprietary functionality when they hadn't finished implementing the W3C specifications.

      Example: PNG will be nine years old next month. Their current browser was Internet Explorer 3.0 at the time. This was the height of the browser wars. They STILL haven't implemented it properly.

      I honestly couldn't care less if Microsoft added a hundred proprietary widgets to Internet Explorer as long as they finished getting the basic functionality right first!

      I truly wasn't aware of any serious IE memory leaks

      This has been widely known by Javascript developers for years. Don't bother Googling, just read the notes to the comp.lang.javascript FAQ.

    4. Re:Worst IE hammering and flamebait article ever by dtfinch · · Score: 2, Interesting

      We have a kiosk running an html application in IE6. It uses lots of javascript and the front page reloads every couple minutes when idle. It's been running for 6 months on 64mb of ram with no issues. The same browser window has been open all that time.

      I remember one time writing a page which by accident, hit a memory leak in Mozilla (before there was a FireFox) which consumed about 1mb of ram a second. All the page did was draw a bouncing line, by creating a div for every line pixel of every frame and displaying them by setting the innerHTML property of another div. IE had no trouble with the page, except that it required some ugly hacks to make the page display correctly, unlike Mozilla, which displayed it perfectly as I had specified in the CSS, albiet leaky.

    5. Re:Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 0

      IE may be guilty of having a buggy implementation of web standards such as CSS2.1 ...

      Yes, and CSS 1, and PNG support, and support for the application/xhtml+xml MIME type, etc. etc.

    6. Re:Worst IE hammering and flamebait article ever by redog · · Score: 1

      "Let's discuss how sucky Internet Explorer is and cover up all the flaws in competitor browsers"."

      No, it is not lets cover up all the flaws. Its lets fix them. See thats the great thing about Free(!tm) Software. Anyone one who gets annoyed enough at the flaws, and it doesn't matter if its 20 years later, can FIX them. But yea, lets discuss how sucky IE is because NOONE can(read:will) fix it.
      But they can write their own programs that detect the problems in it. Nice tool!

    7. Re:Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 0

      IE does not load faster because it is embedded into the OS, it loads faster because it is preloaded when the computer boots. It is always in memory, period. Makes starting it up very quick indeed.

      Oh, and Gecko can be embedded as a component in another application just as easily as IE. In fact, the Gecko team even used the same interface as the IE rendering engine, so it is possible (and has been demonstrated) to swap out the IE rendering engine with the Gecko engine, and Windows will happily accept it. However, the webpages to which Windows will send you require certain bugs and features only available on IE, so things like Windows Update will stop working. (Blasted ActiveX!)

    8. Re:Worst IE hammering and flamebait article ever by SolidGround · · Score: 1

      I personally don't care if I can fix the code or not, that's not my job. When I encounter bugs or flaws in FireFox I'll be happy to report them and spend time with followups, but it's ultimately their problem. I don't have the time to dedicate days to track down some obscure bug in code I don't understand and then argue back and forth to get the patch into the code tree.
      So far my experience has been that there is actually very little desire to fix much of anything with FireFox or Gecko unless it's a security related issue. When confirmed bugs linger around for months without getting fixed Mozilla is really no different than any other piece of software or vendor.
      Bottom line, you're always going to be stuck with bugs that won't ever get fixed. The best you can hope for is that it's something you can work around.

    9. Re:Worst IE hammering and flamebait article ever by Mant · · Score: 1

      During the browser wars both browsers were producing non-standard extensions, Netscape came up with the Layer tag for example. IE had better non-standard extensions, giving much better control of page elements and could dynamically reflow much better.

      When the wars stopped though, so did the development, and standard stuff incomplete and buggy remained that way for years. IE4 was better then NS4, but that hardly excuses problems in IE6.

      A lot of people will have a go at IE because it is MS, and the don't like MS. On the other hand, a lot of people will have a go because it deserves it. MS has sat on IE and done nothing until another browser started to get popular. At least the Mozilla guys are working on the memory leaks, I've not seen them mentioned on any IE7 stuff from MS.

    10. Re:Worst IE hammering and flamebait article ever by mattOzan · · Score: 3, Insightful
      but during the browser wars wasn't it IE producing functionality that hadn't even been drafted by the W3C yet?

      Yes, and that was the whole damn problem.

      The point of HTML was universal interoperability (so Tim Berners-Lee's collegues could all read each other's stuff no matter what computer setup they had). But Microsoft sacrificed this in order to obtain control and market share. They encouraged web developers to use their proprietary markup, which forced people into using their browser if they wanted to access this content.

      This was not a benevolent gesture from Microsoft- it was nothing but a power-grab. Open, agreed-upon standards are the foundation of interoperability, and Microsoft always stands against this when it thinks it can monopolize a technology.

    11. Re:Worst IE hammering and flamebait article ever by poot_rootbeer · · Score: 1

      It's laughable to mock IE for memory leaks when Firefox is X (where X > 1) times worse at sucking up and retaining memory.

      Your allegations are intriguing. Do you have any empirical statistics that support your claim?

      IE on Win32 is [...] "embedded into the OS" and somehow brushed off this advantage

      Advantage? Why is it an advantage to have a userspace application inextricably commingled with operating system internals? Besides load time.

      IE may be guilty of having a buggy implementation of web standards such as CSS2.1 but during the browser wars wasn't it IE producing functionality that hadn't even been drafted by the W3C yet?

      Yes, and yes. Both of these implementation strategies are rightfully classified as Very Bad.

      There have only been a few instances in history where it was right for browsers to innovate beyond web standards due to foot-dragging by the W3C. Mosaic's IMG tag was one. The XMLHttp features are another (though Mozilla's implementation is far cleaner than IE's original ActiveX control).

      Most every other case where browser coders have spent time inventing new features out of thin air rather than aiming for compliance with existing standards is bad for the web as a whole.

    12. Re:Worst IE hammering and flamebait article ever by ClosedSource · · Score: 1

      MS was just using the model established by Netscape.

      The problem is that HTML/HTTP was great for simple hypertext web sites, but really wasn't capable of handling the interactive sites we use today. Had Tim Berners-Lee had a little more vision, many of these extentions wouldn't be necessary.

    13. Re:Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 0
      "They encouraged web developers to use their proprietary markup, which forced people into using their browser if they wanted to access this content."

      If you re-read your sentence there, you might notice an important aspect of the sentence that is implied, I think unintentionally. That aspect is this: all Microsoft did was encourage web developers to use their proprietary markup. What actually forced people into using their browser was that web developers chose, of their own volition, to use Microsoft's proprietary markup.

      So let's be clear where the blame belongs. Microsoft tried to innovate. They encouraged people to use the results of their innovation. And, people willingly did, thus creating the current situation.

    14. Re:Worst IE hammering and flamebait article ever by pjrc · · Score: 1
      Yes, and that was the whole damn problem.

      Microsoft and Netscape introducing lots and lots of non-standard features was indeed a "problem". But to say "the whole damn problem", thus assigning 100% of the blame on browser developers, just isn't right.

      For starters, the standardization process for html was moving slowly. Or at least not nearly as rapidly as the market for improved browsers was developing, and thus exerting pressure on the browser developers to add certain features widely desired by most web developers.

      But at the height of the browser wars, the failed html 3.0 standard took far too long, attempted to achieve far too much, and largely strayed away from the then-pressing demands of wed developers.

      For example, one of the highly desired features was the ability to specify font faces and text colors. Web developers wanted this very badly. When Microsoft introduced the very shortsighted font tag, it was very well received by web developers and very widely used. Netscape resisted briefly, but ultimtely was forced to implement it because it was becoming so very widely deployed by web developers.

      Now you can try to lay all the blame on Microsoft, and perhaps netscape for following suit. Or maybe you can blame web developers for wanting this feature so very badly and immediately putting it to such widespread use in it's first available (shortsightedly designed) form.

      But I would argue that the html standards process failed to deliver what the market wanted, when the market needed it. It was no secret that virtually every web developer wanted this capability. But rather than forus on the real needs of the marketplace (web developers and users), the people involved in the standards process took a dim view of these requests. Afterall, it went against the ideals of multi-platform display. CSS was in the planning stages and that would ultimately deliver, somehow, someday, on all these desires to accurately control presentation.

      What were browser developers supposed to do. Wait years for the standards process to provide what their customers were begging for ASAP! What would you do, if you were running a for-profit company, in a tight race for a developing market against a worth competitor, customers calling up constantly begging and pleading for the same specific features.

      Yes, Microsoft was shortsighted. You can certainly call them that. They have over a decade of shortsighted history, coming late to markets and leveraging their monopoly position to take over. But to say:

      This was not a benevolent gesture from Microsoft- it was nothing but a power-grab.

      You cerainly might say that of some things they've done (especially later after Netscape went down). But back in the days of the browser wars, most of the non-standard stuff from Microsoft and Netscape was largely driven by nagging from web developers, who were in turn responding to their clients interests to provide nice looking, highly polished websites, which was in turn driven by end users.

      There's plenty of blame to go around. Microsoft has done plenty of underhanded things. In this case, made plenty of shortsighted design decisions and lots of shoddy implementation. But to put 100% of the blame on them is to utterly neglect the slowness of the html standards process and it's former disdain for the pressing needs of the marketplace during the browser wars. Microsoft and Netscape certainly did care deeply about marketplace needs.

    15. Re:Worst IE hammering and flamebait article ever by redog · · Score: 1

      "The best you can hope for is that it's something you can work around"

      You obviously practice what youv'e preached here.
      I don't care if you can fix the code or not either.
      I do care that I *can* fix the code If I do so feel like it.
      I report bugs too. Even though I don't always try to fix the problem, I don't care if my patches do get put into the program because the software is Free for me to build using MY OWN Fixes, alterations, patches, bugs etc etc...

      That is exactly my point. Not only can I not fix bugs in IE for the maintainer but I cannot fix them for myself.

    16. Re:Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 0

      For starters, the standardization process for html was moving slowly. Or at least not nearly as rapidly as the market for improved browsers was developing, and thus exerting pressure on the browser developers to add certain features widely desired by most web developers.

      The problem is that the browser developers didn't work together to establish common ground. There was an ongoing effort to do this with HTML 3, and the browser developers simply snubbed it. No wonder it didn't succeed!

      But at the height of the browser wars, the failed html 3.0 standard took far too long, attempted to achieve far too much, and largely strayed away from the then-pressing demands of wed developers.

      For example, one of the highly desired features was the ability to specify font faces and text colors.

      Yes, and it's been possible to use stylesheets since HTML 2.0. To complain that HTML didn't include methods for changing the font is irrelevent, HTML already provided a mechanism for doing so, but the browser developers decided to ignore that and extend HTML instead. The web is only just recovering from that "genius".

      When Microsoft introduced the very shortsighted font tag, it was very well received by web developers and very widely used. Netscape resisted briefly

      What on earth are you talking about? It was Netscape that introduced the <font> element type (learn the difference between element type and tag), before Internet Explorer even existed, IIRC.

      But I would argue that the html standards process failed to deliver what the market wanted, when the market needed it.

      You are drawing a distinction between the HTML standards process and browser developers. It was the very existence of this distinction that was the problem; if the browser developers had bothered to work together, the HTML standards process wouldn't have failed to deliver.

    17. Re:Worst IE hammering and flamebait article ever by Anonymous Coward · · Score: 0

      During the browser wars both browsers were producing non-standard extensions, Netscape came up with the Layer tag for example. IE had better non-standard extensions, giving much better control of page elements

      The "Internet Explorer non-standard extensions" that competed with Netscape's <layer> element type were actually CSS, and weren't non-standard extensions at all.

      And learn the difference between "tag" and "element type". You were talking about the <layer> element type, not <layer> tags.

  27. Re:Why should I care ? by PDAllen · · Score: 1

    Because your boss cares about selling product to IE users. If the users find bugs when your site is in their browser, they will not think 'If only I was using Firefox'. They will think 'What a piece of crap this site is, if the website is this bad I can't trust the product either, better find an alternative solution'.

    In any case, when you're talking memory leaks you have a serious case of the pot calling the kettle black - hopefully the FF leaks will be sorted sooner than the IE ones (since FF seem to care about them and God knows MS don't) but right now FF is at least as leaky as IE.

  28. Java applets on IE by GoatMonkey2112 · · Score: 1

    I've been having problems with a java applet on IE. Every time the applet reloads in the web page the memory usage increases. Until it reaches 150mb or so then the applet can no longer load and error messages pop up. I'm hoping this program will help me come up with a solution. I don't have access to the applet's source code. Ideally I would just leave the applet in place in a frame, but it doesn't seem to take the commands that it is supposed to take. Has anyone else had trouble with memory and applets in IE?

    1. Re:Java applets on IE by webphenom · · Score: 0

      Chances are the applet is the root of the problem. Best to go back to the developer and have them clean up their code a bit.

      --
      ----- Open Source = More Secure (mmmmkay)
  29. Re:Why should I care ? by Ingolfke · · Score: 0

    Your trollish comment reminded me of this wonderful business adage.

    Apathy - If we don't take care of the customer, maybe they'll stop bugging us. - E.L. Kersten, Ph.D.

  30. Re:Why should I care ? by arkanes · · Score: 1
    On the other hand, if you're doing the kind of high end DHTML fiddling that would expose these kind of memory leaks on a customer-facing e-business site, you need to get the hell smacked out of you.

    It's worth pointing out that while FF certainly has it's share of leaks, in the *specific case* of JS garbage collection, it's much better than IE. Which is what TFA said.

  31. Not sure but.. by Blitzenn · · Score: 1

    I have a problem having someone check my code who can't spell or use proper grammer. A swift click on a spell checker sure would add a lot of credibility to some whois telling you their code will check your's for it's grammer and spelling.

    1. Re:Not sure but.. by Durzel · · Score: 0, Offtopic

      Ahh the blissful irony of someone complaining about spelling whilst managing to spell "grammar" incorrectly. :)

    2. Re:Not sure but.. by MrPink2U · · Score: 0

      ...and not just once, but twice.

    3. Re:Not sure but.. by unother · · Score: 0, Offtopic

      Not to mention the whole "to some whois" piece of their grammar...

    4. Re:Not sure but.. by Anonymous Coward · · Score: 0

      I have a problem having someone check my code who can't spell or use proper grammer. A swift click on a spell checker sure would add a lot of credibility to some whois telling you their code will check your's for it's grammer and spelling.

      A winner is you!

    5. Re:Not sure but.. by Foolomon · · Score: 1
      A winner is you!

      I knew it! Yoda does read Slashdot!

    6. Re:Not sure but.. by KidWithTheSquid · · Score: 1

      You've got your references wrong, I think this is a pretty obscure reference to Pro Wrestling for the NES system. When you win a match, the screen shows "A Winner Is You!"

      Not to mention a green-skinned man known as the amazon who parades in red tights has a "bite-your-head" move in the game.

    7. Re:Not sure but.. by crabpeople · · Score: 1

      "A swift click on a spell checker sure would add a lot of credibility to some whois telling you their code will check your's for it's grammer and spelling."

      astounding. so when you run a spell checker over your document it makes you into a better speller? here i was thinking that the worst spellers are the ones who use spell checkers.
      oh and its GRAMMAR you stupid newbie. god damnit your an idiot man

      --
      I'll just use my special getting high powers one more time...
    8. Re:Not sure but.. by Jakeypants · · Score: 1

      "I have a problem having someone check my code who can't spell or use proper grammer. A swift click on a spell checker sure would add a lot of credibility to some whois telling you their code will check your's for it's grammer and spelling."

      You're code is all rong! Fix it plz!

    9. Re:Not sure but.. by wcdw · · Score: 1

      While I would normally agree with you, YOUR message would have had more credibility if you had used the correct form of possessive 'it' -- "its". "It's" is an abbreviation for "it is".

      And let's not even talk about the apostrophe in "yours"....

      --
      If you're not living on the edge, you're just taking up space!
    10. Re:Not sure but.. by Blitzenn · · Score: 1

      " sent by Slashdot Message System on Saturday June 04, @12:05AM

      unother (712929) has made you their foe. "


      Seems a bit childish that you would flag me as a foe simply because I made a mistake in grammar. I hope no one really pees you off or someone could die. Perhaps if you take such serious offense to grammatical errors, I do not want to be your friend. I am human and do make mistakes. How can I or anyone take anything you say seriously when you publicly display that your emotions and ego are truly in command of you and not your intellect?

  32. You're so right! by samael · · Score: 1

    After all, people haven't been working around these problems so far, which caused customers to complain and Microsoft to fix these problems- which is why Internet Explorer doesn't have any leaks any more!

  33. Sick of standards weenies by Anonymous Coward · · Score: 0
    Admittedly, the title of the post is kinda misleading, but if you take 10 seconds to read this guy's blog first, you would understand that tool is to help you find and plug leaks...it doesn't somehow plug leaks in IE. So if you feel the need to post a comment like "you are delaying the demise of IE by making it look better than it is", you are on the wrong track.

    Which brings me to...

    Is it just me, or is anyone else sick of hearing "Just make your site standards-compliant and it ought to work everywhere...and if it doesn't, that's the browser vendor's problem, not yours"?

    Of course it would be great if all browsers complied with standards. They don't. But you are the developer, so it is your problem to make your software the best that it can be for your users. If you have any energy left over after that, then go lobby MS to shape up.
    If you ask me, you are a weenie if your solution is any of these:
    • dumb down or uglify your site
    • avoid any (actually useful) "AJAX" functionality because it is non-standard
    • force users to use the browser of your choice due to your techno-religious
    If you are a newbie amateur with more opinions than experience or knowledge, consider yourself forgiven. But if you are a professional developer, you need to do some soul-searching, baby.
    1. Re:Sick of standards weenies by ClosedSource · · Score: 1

      I mostly agree with you but I think it's best to insure that your site is the best it can be even if Javascript is disabled.

      So "AJAX" functionality should be "icing on the cake" rather than the foundation for mainstream sites.

    2. Re:Sick of standards weenies by Maow · · Score: 0
      Which brings me to...

      Is it just me, or is anyone else sick of hearing "Just make your site standards-compliant and it ought to work everywhere...and if it doesn't, that's the browser vendor's problem, not yours"?

      Of course it would be great if all browsers complied with standards. They don't. But you are the developer, so it is your problem to make your software the best that it can be for your users.

      I agree that particular browsers shouldn't be locked out, but if you think I'm going to spend countless hours making a broken product work that I didn't create or break in the first place, think again, baby!

      If Ford made a vehicle that choked and stalled everytime it used any gasoline but Ford's, it might be the user's (driver's) problem, but should Texaco or PetroCan reformulate their gasoline?

      (Hint: "No.")

      Just MHO... Personally I want my code to work in all browsers, I just don't want to spent too many resources doing it.

  34. Firefox Sucks (Memory) by lseltzer · · Score: 3, Informative

    >>It's laughable to mock IE for memory leaks when Firefox is X (where X > 1) times worse at sucking up and retaining memory.

    Thanks, I'm glad someone pointed this out. My system has been up for many days now and IE and Firefox are both consuming about the same amount (90-something MB).

    1. Re:Firefox Sucks (Memory) by Anonymous Coward · · Score: 0

      Really? My situation is about the same as yours, and firefox is consuming only half that. My system has been up for over a month now.

  35. What if this was Firefox by Twillerror · · Score: 1

    Would we have the same basic post. Would we have it at all?

    The post would be more like.

    "Firefox has some basic issue releasing memory in certain scenarios involving DHTML. Recently a tool has been released to help alleviate the problem until the problems are fixed."

    Do we have to act like children around here. It is a software program, not a brutal dictator.

  36. Exactly my point. by Blitzenn · · Score: 1

    I am glad to see that i made it so well.

    Now that we understand each other, may I check your code for you?

  37. The problem with IE is.... by Phil+John · · Score: 1

    ...that once Microsoft decided that it had the browser game all wrapped up it Disbanded the Internet Explorer team. This meant that a lot of long standing bugs are still present in the product, but hey, that really doesn't matter since 99% of people will still use it for years to come.

    Now that Microsoft has seen that Firefox could take their proprietary lock-in away they are starting development again.

    The thing is, Firefox does have memory leaks, but they are actively fixing them...can the same be said of Microsoft over the last 4 years with ie6? No, it can't, why should they spend money on fixing something that people use regardless.

    --
    I am NaN
    1. Re:The problem with IE is.... by RPoet · · Score: 1

      that really doesn't matter since 99% of people will still use it for years to come

      I don't know. Norway's most popular online newspaper (vg.no) today released fresh log analyses showing that only 86% of their visitors are IE users (compared to 95% one year ago). 8% use Firefox, and 5% use Opera. That may just be crazy Norwegians, though. I'd sure like to see what the numbers are for Slashdot.

      --
      "Oppression and harassment is a small price to pay to live in the land of the free." -- Montgomery Burns.
    2. Re:The problem with IE is.... by specialbrad · · Score: 1

      Slashdot wouldn't be a good example because of the technological skew here. I'm willing to bet on 40% or greater people here using firefox or opera, or possibly a small percentage using lynx even. I would like to see google's usage statistics.

    3. Re:The problem with IE is.... by cosinezero · · Score: 1

      Uhm... no. 1. MS never disbanded the IE Dev team... otherwise where is IE7 coming from?? 2. If you've ever done any serious app development you'd know that the work going into the product in the first few versions FAR outweighs the last few. Later versions of applications are often refactoring or building on your existing base. Early versions of code is where 90% of the functionality is solidified. Hence, later versions of applications usually need far less developers. 2. If you've ever taken a look at microsoft's roadmap throughout the mid-late 90's & early 2K you'd know why they needed many more developers; During that time they launched Win95 (new OS codebase), NT4, WinXP, and Win2K. Dramatically different and new OS's and APIs requiring a lot more developers at the time. With all the W3C spec changes plus all the OS changes... your team would be 2x the size it would be today.

    4. Re:The problem with IE is.... by Anonymous Coward · · Score: 0

      MS never disbanded the IE Dev team

      Yes, they did. It was widely publicised.

      otherwise where is IE7 coming from?

      They reformed the team recently.

  38. Memory leaks cause sluggishness indirectly by MikkoApo · · Score: 1

    If the OS starts to swap because one program is hogging up all the memory it will slow the machine possibly down what user will percieve as slow. Unused memory like memory leaks should be paged out from the physical memory, but sometimes (read: too often) this is not the case.

  39. Reminds me of Peewee Herman by Subrafta · · Score: 0, Offtopic
    Peewee's ex-wife was on a late night talk show and when asked what Peewee was up to she replied:

    "He's over in Europe, plugging a dyke."

    --
    Vuja De: That sinking feeling that this is going to happen again. Often occurs in meetings with Product Managers.
  40. Here's how. by Grendel+Drago · · Score: 1

    log_2 12 = log 12 / log 2 = 3.58...

    Man, this Google Calculator thing comes in handy.

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
    1. Re:Here's how. by matt+me · · Score: 1

      so that's how you do it. didn't know that maths. thanks.

    2. Re:Here's how. by Anonymous Coward · · Score: 0

      It's fairly simple and straightforward:

      If b^x = y, then taking logs (to any base) of both sides gives: log(b^x) = log y
      But log(b^x) = log(b...b) = log b +...+ log b = x log b
      Thus log(b^x) = x log b = log y, giving: x = log y / log b
      But x = log to base b of y. Thus, in our case, b = 2, y = 12, and 2^x = 12, giving:
      x = log to base 2 of 12 = log 12 / log 2 ~= 3.58.

  41. transcript by Anonymous Coward · · Score: 0

    OK, here's the transcript for the test talk.

    Speaker: Good evening ladies and gentlemen, you are now rejoining us as our guest of this evening, Dr. Love, will answer questions from the public. And the first question is for the lady in the back. Go ahead dear.

    Lady: Dr. Love, my computer is leaking memory when used intensively. What should I do?

    Dr. Love: Well, even in normal use, we all leak a little memory from time to time. There's not much to do about that, but it's perfectly natural. But things only gets worse when you use your computer too intensively. That is not what they were built for, and you will most likely experience problems with its performance pretty quickly. There are some new cures on the market, but these are not without side effects. Really the best thing that you can do is simply turn it off every now and then. Give it some rest. You will see that it performs much, much better if you just let it time out for a second or two.

    Speaker: Thank you Dr. Love. After the break: what to do if your computer just keeps hanging when you wanted to have it up and running.

  42. Keep on hammering, nobody's listening by toby · · Score: 3, Insightful
    during the browser wars wasn't it IE producing functionality that hadn't even been drafted by the W3C yet?

    You say that like it's a good thing(!)

    "Internet Explorer's architecture made this app fairly easy to build." as testament to the browser?

    No; for some pretty obvious reasons: one obvious one being, you exclude anyone not using that particular browser. I thought everyone realised that was a Bad Thing - or maybe you haven't been one of those people who can't use their online bank because the bank decided to arbitrarily depend on IE. One can only hope that accessibility laws will put an end to such stupidities.

    It's not surprising that both browser products have memory leaks. However one could reflect deeply on the differences in responsibility and approaches to remediation. In Firefox's case - being open source - you have complete transparency; you can file a bug on it, check the bug db, or even fix it yourself (don't laugh). In M$'s case, all you can do is kiss your money goodbye and hope they fix it "one day".

    The same goes for all the rest of their system, too. It is not always obvious what a disturbing abdication of rights using a closed system is. A friend recently told me of a Visual $tudio crash triggered by a few \b backspace characters in a print statement. Not such a big deal, I thought at the time; but I found myself reflecting on his story later. Eventually the true horror of the situation sank in, which is that we have to completely trust the ability and goodwill of the vendor to deal with any and all issues in their O/S. That is no small responsibility and there is not much evidence that M$ is capable of fulfilling their end of the bargain. I would postulate, after RMS of course, that no closed and proprietary system on the scale of M$ products can be adequately maintained by one vendor. And of course maintenance becomes irrelevant when major "rewrites" are involved, such as have been prescribed by Longhr0n to fix W1ndows' fundamental ills (ref Spolsky on rewrites, Things You Should Never Do).

    The thought that one has no recourse and indeed not even any way to inspect the system one uses (livelihood, etc), is deeply, deeply disturbing, and I again have to thank RMS for pointing out long ago what a dead-end that is, and for putting in place viable alternatives.

    --
    you had me at #!
    1. Re:Keep on hammering, nobody's listening by webphenom · · Score: 0

      What "money" would I be kissing goodbye? Isn't IE free?

      Also, crashing a development tool doesn't really qualify as a "horror of a situation", that is, unless you are a MS basher.

      Lastly, isn't Longhorn the "next generation" of a product? You liken product updates as fixes of a crappy product. Would you say the same for the x-thousandth *nix kernel?

      Ahhh... the /. flamers.... you can always count on them for a few chuckles.

      --
      ----- Open Source = More Secure (mmmmkay)
    2. Re:Keep on hammering, nobody's listening by Anonymous Coward · · Score: 0

      The money would be your time, which you will be spending on the problem in perpetuity. You will be working around those problems forever, just like (literally) millions of web developers spend their hours working around problems in IE every single day. Microsoft could save the world hundreds of total man-years just by fixing their damn box model! But they refuse.

      The crashing you fail to understand. He did not think it was that big a deal either. What he found horrifying, and what you would too if you were capable of higher thought, is that this clearly demonstrates just how powerless the user is. They have been given a tool that fails on the flimsiest of problems, and there is nothing they can do about it. They invested money and time in it, and a trivial fix is beyond their capabilities. All they can do is beg to the vendor. Nothing more.

    3. Re:Keep on hammering, nobody's listening by webphenom · · Score: 0

      I AM a web developer, and the time that *** I *** spend is worrying how the OTHER browsers will render my code. THE WORLD could save hundreds of total man-years if they weren't so hell bent on providing an "alternative" to Microsoft, no matter how crappy that alternative is (Netscape? Mozilla?). But they refuse.

      Like I had said in another post, the "person who is NOT capable of higher thought" took the easy (read /.) scapegoat and chose to blame the browser (laughable) rather than the developer of the web page.

      I win.

      --
      ----- Open Source = More Secure (mmmmkay)
    4. Re:Keep on hammering, nobody's listening by Jakeypants · · Score: 1

      "You say that like it's a good thing(!)"

      You imply that it's bad without examples. Typical. In every case that I can think of other than ActiveX, it was a good thing!

      "you can file a bug on it, check the bug db, or even fix it yourself"

      It shouldn't be my problem to patch bugs in software written by someone else. It's my job to write code and patch bugs in my own software. It's the vendor's job to patch theirs.

      "we have to completely trust the ability and goodwill of the vendor to deal with any and all issues in their O/S. That is no small responsibility and there is not much evidence that M$ is capable of fulfilling their end of the bargain"

      OK. First, enough with "Micro$oft." Typing it like that is irritating and childish. Second, they have proven themselves capable of fulfilling their end of the bargain. What do you call Service Pack 2? Have you even used Windows since 98/ME?

      I've never been victim to any exploits in XP. I use IE as my main browser, and FireFox to test stuff I develop across multiple browsers. Both browsers have a weakness in the arena of memory leaks, according to previous comments (I've never noticed any in either browser). Enough of the FUD, troll. Nice sig.

    5. Re:Keep on hammering, nobody's listening by toby · · Score: 1
      In every case that I can think of other than ActiveX, it was a good thing!

      How is that possible - unless you are shooting for a browser monoculture?

      Have you even used Windows since 98/ME?

      I use it often enough in the course of work to know it's junk^H^H^H^H not really up to par. Of course, I prefer to use OS X most of the time. The comparison is not flattering to 'doze.

      I've never been victim to any exploits in XP.

      Nor have I - as far as I know, but how would I tell? By the sound of it, the anti-spyware is as bad as the spyware. It's so nice to have environments where one doesn't have to waste time with that nonsense.

      When did we start talking about exploits? If you want to win an argument about W1ndows it's probably best if we stay off the topic of security. Two words: Spam zombies.

      Both browsers have a weakness in the arena of memory leaks

      An obvious fact which I actually repeated in my own post.

      --
      you had me at #!
    6. Re:Keep on hammering, nobody's listening by 00lmz · · Score: 1
      In every case that I can think of other than ActiveX, it was a good thing!
      How is that possible - unless you are shooting for a browser monoculture?

      Um..., aren't extensible browsers good? I agree that web pages being dependent on ActiveX is a bad thing, but the tool in the article was a leak detector, made possible by the extensible COM architecture of internet explorer. That is a good thing (IMO). If you think that is bad, you must really hate Firefox, what with all its various extensions... Or do you think that the firefox extensions "are shooting for a browser monoculture" ?

      And by the way, Microsoft's COM architecture that makes IE so extensible (also by malware, sadly) has been one of their most successful (and most cloned) innovations. Mozilla has its own COM implementation called XPCOM to prove it.

  43. Re:Will Internet Explorer 7 fix the existing leaks by Anonymous Coward · · Score: 0
    I wonder if the upcoming IE7 will even fix these existing memory leaks.

    It might for two versions of Windows, anyway.

    Funny how Mozilla can come up with a browser with better security and adherance to standards than IE6 for Windows 2000 but Microsoft can't.

  44. Re: Robert Love. by ThePhilips · · Score: 1

    Memory fragmentation is well known. That's true that there is no solution. But on the other side, there are technics one can employ to resist memory fragmentation.

    Check memory pools. Network equipment uses them (you expect router/gateway to run 24/7). Check Linux kernel for slab allocator. It is not ideal - but still works quite well.

    The problem one cannot solve is allocation of huge memory peice of continous memory. But on the other side, this is problem more specific to kernel.
    User space applications are much less constrained, compared to kernel space tasks. It is just question of willingness of developers to solve the problem. It is just all things will have to be splitted into manageable pieces. Unfortunately, in some cases it is just impossible (e.g. second party libraries).

    Web browser is quite complicated peice of software, with support of images, video, audio and various texts. Such changes might prove to be complicated to implement and maintain. With complications come bugs. I honestly rather relaunch Ff, rather have it crash by itself.

    But then detecting things like memory leaks is quite complicated. You cannot be sure that item has to be decallocated and will not be deallocated some time later. Memory management is lazy. And you never can be sure about it completly. Saying that you have found memory leak, by just watching memory consumption going up is of no help to developers. And is not proof of application bug.

    --
    All hope abandon ye who enter here.
  45. Serious? by JediTrainer · · Score: 1

    How come I've never run into this problem?

    Right now I'm typing on my "testing" machine at work, which is an old HP Kayak running WinNT 4, P2/450mhz with 256M of memory. I have Firefox open (with between 4 and 8 tabs, usually) and I also have Outlook open (yeah, I know - my office uses Exchange and IMAP isn't open).

    Suffice it to say, it works well enough that I never asked to upgrade this particular box. Granted, I do all my *real* work on my up-to-date speedy Linux machine (P4/2.8GHz/1.5GB memory), but I never had a problem with FF on this slower box. In fact, it runs significantly better than IE seems to.

    My home machine is also pretty low-end, an old Athlon 700mhz with 256M of memory running Windows 98 (again, I know. I just use it for browsing and email and it's good enough). Again, it runs fine there too.

    So basically I'm saying that I have three very different machines running different OSs, and I've honestly never seen an issue running Firefox. I do have issues running IE (though, interestingly it seems more stable when I run it using Wine on my Linux box than on the two Windows machines, but that could be because I appreciate that if it dies it doesn't take out the OS with it).

    --

    You can accomplish anything you set your mind to. The impossible just takes a little longer.
    1. Re:Serious? by molnarcs · · Score: 1
      I understand that - actually your experience is in line with mine :) One problem is memory: firefox needs a lot. These machines had 96Mb or below.

      Also, on windows, as I said, the problem is less visible. Moreover, if you want to see the problem, you have to do some CPU intensive task in the background (where CPU usage is more or less constant), start with a clean cache, and compare rendering some pages (especially ones with complex tables like this one. If your computer is more or less idle, and has plenty of ram (256 is fine, but if you upgrade to 512, it will be firefox where you'll notice significant perfomance improvement, especially with lots of tabs open) - you won't see much of a difference!

      To make this long comment short: gecko uses more memory and more CPU to achieve the same speed as other browsers, including IE. Plus some platforms are more affected than others (linux, bsd, don't know about the Macs).

    2. Re:Serious? by JediTrainer · · Score: 1

      I guess that would explain why it runs like lightening on my Linux box with 1.5G of memory.

      The thing is, I should have mentioned that I have FF installed on my wife's machine which is even lower-end than mine (P2/350/64M/Win98). She seems happy enough with it, although she doesn't do much on her machine besides browse a little with Winamp in the background (and maybe sometimes MS Word), so I suppose that's not a good test for what you're talking about.

      I can imagine that if I were compiling something in the background, FF would grind to a halt. On my previously-mentioned testing WinNT machine I simply don't do that. It's usually just Outlook and Firefox running. Sometimes Photoshop too. But never anything particularly CPU-intensive at any point.

      Interesting discussion. I'd definitely like to see it faster, at any rate. I'm just saying that in my particular case I haven't had any complaints. There's always room for improvement however, and I'll always be open to seeing that.

      --

      You can accomplish anything you set your mind to. The impossible just takes a little longer.
  46. Not on the to-do list by doublem · · Score: 1, Troll

    It's all about features.

    See, first you ball all of the security patches together, and have them all download, even if the user already has them. That way, because it takes longer and is bigger, they think it's a more substantial application.

    Second, you add some new features. Like stealing compression code from Stacker, MS will just steal one of the "Tabbed browsing in IE" Plugins and muck the variable names up a bit.

    Finally, you tweak the theme. You gotta make it LOOK like a new browser. This is more important than anything else. If it LOOKS the same, people will assume it IS the same. This is why the OS has gotten so much eye candy with each release, it's to make sure the users KNOW they're on a new OS by it LOOKING cooler.

    But fixing actual bugs? There's no real Return on Investment on that, so it won't be done.

    --
    "Live Free or Die." Don't like it? Then keep out of the USA
    1. Re:Not on the to-do list by RzUpAnmsCwrds · · Score: 2, Insightful

      "Second, you add some new features. Like stealing compression code from Stacker, MS will just steal one of the "Tabbed browsing in IE" Plugins and muck the variable names up a bit."

      Come on. That's a cheap shot. There is no indication that Microsoft stole any code whatsoever for IE7.

      Ever wonder why Slashdot gets the reputation of being a bunch of crazy coots? Yep, it's people like you lobbing unfounded allegations against Microsoft.

      There are plenty of valid reasons to attack Microsoft. You don't need to make shit up.

    2. Re:Not on the to-do list by spectecjr · · Score: 1

      Come on. That's a cheap shot. There is no indication that Microsoft stole any code whatsoever for IE7.

      Or that they stole any for Doublespace for that matter - that was a patent infringement dispute (and a very thorny one - both MS and Stacker had patents on the same technology) - not a copyright infringement one.

      --
      Coming soon - pyrogyra
  47. Memory leaks are no longer excusable by Julian+Morrison · · Score: 1

    I can see no sensible reason why firefox is not linked against the Boehm collector. You can use that for hunting leaks, for tidying after leaks, and for skipping the whole manual memory management hassle in the first place. I'm not sure if the Boehm collector does compaction, but a sufficiently clever "conservative" GC can also compact (some) memory.

    Nowadays the state of the art has moved on and there is no excuse, none at all, for malloc/free.

    1. Re:Memory leaks are no longer excusable by joshdick · · Score: 2, Insightful
      Nowadays the state of the art has moved on and there is no excuse, none at all, for malloc/free.

      You've obviously never done any embedded programming.

      The low-level capabilities of C/C++ are there by design. That's why it contains the keywords union and register, for example.

      What's more, if everyone jumps on the virtual machine and garbage collection bandwagons, new problems pop up. Abstractions and convienences inevitably foul up, and often lead to poor programs overall.

      The onus for performance should rest with application developers, not compiler developers. Thus, the solution here is for developers to be properly trained and then to take responsibility for such matters as memory leaks. It looks to me that that's exactly what the Firefox team intends to do.

    2. Re:Memory leaks are no longer excusable by Anonymous Coward · · Score: 0

      Memory leaks were never excusable. What does this have to do with adding bulky, mystical code to every application?

      I'm not sure if the Boehm collector does compaction, but a sufficiently clever "conservative" GC can also compact (some) memory.

      Given C++, how? You find a bit pattern that's the same as an address to a chunk of memory. If you decide to move that piece of memory, should you change that bit pattern? What if it's an unrelated integer that just happens to have the same bit pattern?

      Nowadays the state of the art has moved on and there is no excuse, none at all, for malloc/free.

      Right, you should be using new/delete. Or maybe one of your OS's primatives to get improved performance/security.

      The other poster regarding embedded systems is also true, but not terribly relevant in this context. (Personally, I have to use MALLOC and FREE, which don't even have exactly the same semantics as malloc and free, but meh.)

      Anyway, I'm just offended that you think I'd be stupid to not use a crutch since you can't handle memory management. That's your problem, don't project it on me. What do you do with open files and network connections, GUI resources, etc? Boehm won't clean those up for you...

    3. Re:Memory leaks are no longer excusable by Anonymous Coward · · Score: 0

      > > Nowadays the state of the art has moved on and there is no excuse, none at all, for malloc/free.
      > Right, you should be using new/delete.

      No, you should be using smart pointers (RAII is your friend.) Bare-nekkid new and delete calls are at least 10 years out of date.

    4. Re:Memory leaks are no longer excusable by viral-contagion · · Score: 1

      You have to start out at some point with a low level, assembly type language using constructs similar to malloc and free. Are you going to write your Java VM in Java, or your .NET framweork in C#? You have to use building blocks small enough to talk to the hardware, like c/c++ do with memory allocation, to give a foundation for higher level languages.

  48. 6.0 Out for years and... by webphenom · · Score: 0

    NOW you say there is a memory leak?

    Um, people....check the DEVELOPER, not the Browser client.

    Sheesh...

    *nix peeps will believe ANYTHING...lol

    --
    ----- Open Source = More Secure (mmmmkay)
  49. Want more points? by Anonymous Coward · · Score: 0

    It is easy to get more.

  50. Your website will be what's complained about by blakeyez · · Score: 1

    If you work around a problem, it hides from the user that the problem exists. The demand to have it fixed, therefore, dissipates and developers accept the onus to repeat work-arounds everytime they deploy something. Ultimately, the browser fails to improve, and the costs of errors are passed from the vendor (Microsoft) who never fixes the problem to the public (developers that waste time with work-arounds).

    The problem with that is that most Joe Users out there will think that your website is the one crashing their computer, NOT IE. Most people will be complaining that your website is broken, and will not be complaining on any MS forums about how Internet Explorer is leaking memory...

  51. Eliminate cybercrime. Eliminate MSIE. by rice_burners_suck · · Score: 0, Flamebait

    I have a better idea. There should be a worldwide law that states that all websites must make every effort possible to crash MSIE, but run well on all other browsers. The reasoning is that by eliminating MSIE, much of the risk associated with cybercrime will disappear with it.

    1. Re:Eliminate cybercrime. Eliminate MSIE. by borawjm · · Score: 1

      Couldn't you argue that the reason that MSIE is associated with cybercrime is simply because it is the most popular browser? It's equivalent to SAAB or Volvo saying that they have the safest car but, in fact, the reason that they are the safest, statistically, is because there are less of them on the road.

      Furthermore, FireFox and Opera users tend to be a little bit more advanced and experienced with computers. They can usually spot a malicious website easier where my mother wouldn't have a fucking clue, regardless of what browser she was using.

  52. How About Mozilla? by Anonymous Coward · · Score: 0

    All this about Firefox. Firefox was originally conceived as 'Mozilla Light'. It WAS Mozilla Light!
    Firefox has nowhere near the adjustability that its parent, Mozilla, has. I mean Mozilla, not Netscape the company now owned by the corporate monopoly that has screwed its seed into it, AOL. Mozilla has all the features that one would ever need except one. You have to open letters in order to view them, and IE has a way through its property pages to allow the safe viewing of dangerous mail. Firefox, in an effort to emulate IE more closely, has duplicated some of IE's nastier bugs by not letting one selectively limit damaging content into your machine via HTML and Javascript. Get with the program people, have a GOOD look at Mozilla before just blindly going with Firefox. Whatever you do, don't trust IE, and really look to the stopping Outlook Express from automatically opening mail. Never use Outlook as it is so bad that only a fool or a corporation would use it.

  53. Oh, the irony. by trezor · · Score: 1

    Using non-standard MS-HTML to promote non-MS standard-compliant browsers? You heathen!

    I bet Microsoft didn't see this coming :)

    --
    Not Buzzword 2.0 compliant. Please speak english.
  54. great idea by Trailer+Trash · · Score: 3, Informative

    But your inflammatory tone would be really cool if our open source alternative in Firefox were somehow better. Right now, Firefox is using 373M on my computer (334M resident) with three windows open, none of which have anything bigger than this /. page. Mozilla is using 279M (I'm also running it) with a single page open. Firefox usually gets up to around 600-700M over the course of 3 or 4 days, after which it generally just dies. Otherwise, I have to kill it due to its slowness.

    Why not leave IE to Microsoft; put your effort toward something you can actually fix rather than being an ankle-biting ass.

    1. Re:great idea by Anonymous Coward · · Score: 0

      I feel bad for your RAM and/or swap space!

    2. Re:great idea by Anonymous Coward · · Score: 0

      Not sure what your problem is, but I've been using Firefox 1.0.3 open continually for the last 61 days and it's only consuming about 100 Mbyte of memory. Still a bit much mind you, but I don't find it increases. Fedora Core 1.

    3. Re:great idea by Rob_Bryerton · · Score: 1

      Sure you're reading the memory usage correctly? I think you're looking at virtual memory, not actual RAM being used.

      I had one window open w/3 tabs: Usage was ~42MB
      Opened 7 windows totalling ~60 tabs: Usage was ~143MB (virtual is ~512MB)

      My peeves w/Firefox on OS X are it's slow initial load time (no biggie as I leave it open) and focus issues after closing a tab...

    4. Re:great idea by Anonymous Coward · · Score: 0

      Damn, the memory sucking and accompanying slowdowns were all in my head... and that of everyone else seeing this problem.

      Sorry, getting a bit touchy on this subject.

  55. F***ing stupid position by Anonymous Coward · · Score: 0

    Why should anyone write type-safe, bounds-safe code to prevent buffer overflows? If we do that, we're hiding the fact that such overflows can possibly happen from the users, and reducing the demand for people to fix the programming languages and save us from our own poor design.

    WTF?? When did suggesting good design practices to optimize your code to run on the platform most users will use become a BAD thing?????

  56. Proofreading? by rrosales · · Score: 1

    You can't not run on IE You can not not run on IE, which means you can, or was this something the editor overlooked?

    1. Re:Proofreading? by Anonymous Coward · · Score: 1, Informative

      It was intentional. He meant that many web services (banks, etc.) require MSIE, so it's impossible not to use it at least once or twice. Hence, you can't not use it.

    2. Re:Proofreading? by Grey_14 · · Score: 1

      Did you by chance read past there? Where the blurb describes way's of making it run on IE properly?

    3. Re:Proofreading? by Jack+Taylor · · Score: 1

      No, "you can not not run on IE" means "you can do anything you like except not run on IE", or more simply "you must at least run on IE". So "can't not" isn't redundant, although it is slightly cumbersome.

      --
      One good turn - gets all the covers.
  57. How does that fat guy in The SImpsons say? by Anonymous Coward · · Score: 0

    Haahaa! :-))

  58. Sorry... by gandell · · Score: 1

    But you can't. Unless you decide to stop browsing your hard drive using Windows.

    IE is embedded deep within Windows Explorer. Next time you wonder, try punching in a website into the address bar for My Computer.

    --
    Mercy was given to me by Christ...I must give the same to others.
    1. Re:Sorry... by pebs · · Score: 1

      But you can't. Unless you decide to stop browsing your hard drive using Windows.

      Yes you can. I browse my hard drive with either bash and other utilities or Konqueror ;)

      Oh, you mean if I was a Windows user...

      --
      #!/
    2. Re:Sorry... by adpowers · · Score: 1

      And I use Finder. No IE running here, and thank Jah for that.

    3. Re:Sorry... by jp10558 · · Score: 1

      Directory Opus... A43 .... There are lots of other file managers that are as good or better than Windows Explorer.

      --
      Opera, Proxomitron-Grypen,GPG 0x0A1C6EE3
  59. And how about mozilla!?! by Anonymous Coward · · Score: 0

    I use IE6, Mozilla and Firefox all the time for different purposes. I never have to restart IE, but Mozilla has to be restarted every two days or so because it has sucked up over 100 megs of memory! I have one instance with about four tabs open. The only active tab is gmail -- the other three I just refresh once or twice a day.

    I've never had the same problem with IE.

    1. Re:And how about mozilla!?! by pl1ght · · Score: 0

      I completely agree with you. I have noticed in Windows and in linux mozilla and firefox exhibit the same problem. After being open, even doing NOTHING for hours to days, the program will basically go to crawl. i NEVER have this problem in IE. I still believe other than a few exploits, which any intelligent user can avoid, IE is still much more usable on a daily basis than FF or mozilla is.

  60. Watch me by ArmorFiend · · Score: 1, Insightful
    You can't not run on IE

    Oh yes I can. When I do for-fun sites, and I need some feature like translucent PNGs, that I feel MS hasn't made a good faith effort to support, I drop IE compatiblity and put an add for Firefox on the page.

    Until many people start doing this, then suckers won't switch. And suckers are the bulk of the internet.

    1. Re:Watch me by Rits · · Score: 1

      There are more browsers that support alpha-transparency in PNGs. Actually, MSIE on Windows is the only serious graphical browser *not* supporting it. So don't forget to add those ads for Opera, Safari, Konqueror, Camino, Omniweb, Galeon, K-Meleon, etc as well.

      'Best viewed with' was evil, and still is.

      --
      If you don't like having choices made for you, you should start making your own. - Neal Stephenson
    2. Re:Watch me by ArmorFiend · · Score: 1

      If you look at the site, you'll see it has a
      "best viewed without internet explorer".
      I think that's fair.

  61. FF Solution to Speed by Anonymous Coward · · Score: 0

    I'm not a Geek so test it out for yourself.

    I had an FF glitch a while back so I cruised their forums for an answer. Apparently if you clean up the downloads window FF runs like a Masseratti on High Octane. Tools > Downloads > "Clean Up"

    The more crap you got in there the poorer FF performs. I think its tracking the downloads or something in every tab which taxes the system and creates a lot of bizarre glitches.

    I've been running FF regularly now with no problems what-so-ever, as long as I dump the downloads regularly.

    BTW this solution occurred to me because of the following post:

    "Well if you happen to browse sites with pictures and you open each picture in a new tab, save the picture, then close the tab, then you eventually get to the point where working with the browser is impossible until it is restarted (don't ask how I know that!)."

    See, you guys got to lay off the porn! The guys posting problems with FF need to get out a little more! A browser can handle just so much before even it gets grossed out.

    1. Re:FF Solution to Speed by Teun · · Score: 1
      Sorry to say, I've tried it often but only switching it off completely cure the problem.
      After downloqading some 50-100 pics FF will lock up.

      And the problem is comparable under MS-XP and Linux (Ubuntu & Fedora)

      --
      "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
  62. Thansk for testing IE. by Anonymous Coward · · Score: 0

    Maybe this tool is not useless for us.

    --Microsoft.

  63. Purpose is but slave to memory --Hamlet by fm6 · · Score: 1
    You're right -- memory management can make a lot of difference. People tend to assume that pure native code is always going to be faster than VMs such as Java or .NET , because there's no interpretation layer. Which makes the common mistake of associating all performance issues with one well-known bottleneck. With big programs, getting the most out of your memory is at least as important as getting the most out of your processor.

    It's a little sad that when you raise this issue, you immediately think of .NET. Java was there first. But Sun's early Java implementations actually had pretty severe memory leaks, firmly establishing Java's reputation as a low-performance platform.

    Anyway, it's a moot point. All the major browsers are implemented in C++, which doesn't support VM-style memory management. There used to be several Java-based web browser projects, but none of them really got beyond the demo phase.

  64. HTH! by Grendel+Drago · · Score: 1

    It's equation fifteen on this page.

    Happy to help!

    --grendel drago

    --
    Laws do not persuade just because they threaten. --Seneca
  65. Re:Quick and dirty fix (Simplified number) by lcsjk · · Score: 1
    For the confused:

    It's really base 2. 12 was a typo.

    In decimal(base 10), 1 meg = (1k) x (1k)

    In base 2, the nearest thing to 1000 in decimal (base 10) is 2^10 or 1024 and that is normally called 1k when you are referring to computers (which use binary)

    So (for computers), we still say 1meg =(1k) x (1k) , but since we are referring to a base 2 munber, we are really saying 1meg = (1024) x (1024).

    Now back to the Firefox entry of 16 megabytes:

    16 megabytes = 16 x 1024 x 1024

    Firefox wants you to enter the number in binary kbytes so

    16 megabytes is entered as 16 x 1024 = 16384 kbytes.

    Just keep in mind that any time you are referring to bytes, you are referring to 1024.

  66. Translation by Anonymous Coward · · Score: 0

    I have never had this problem so you must be wrong and by the way have your reported this non-problem to the Firefox design team so they can do nothing about it since as I said before, it can't be a problem?

  67. Limit Firefox Memory Usage by theManInTheYellowHat · · Score: 1

    I have limited Firefox's memory considerably with this:
    http://www.mozilla.org/support/firefox/tips#oth_me mcache
    user_pref("browser.cache.memory.capacity", 16000);

    I don't know of such a setting in IE but maybe there is some registry key that needs adding or tweeking.

  68. Re:to hell with standards by Anonymous Coward · · Score: 0

    Actually, yes. Both Javascript and plugins were a big departure from standards.

    The current problem with the W3C is that it has it's own agenda outside the relm of the major implementors. Instead of trying to determine which vendor extensions should be incorporated into the standard, it wants to create its own new features. Since it has no power to force the implementors to follow, it's mostly ignored. The W3C is becoming more irrelevent each day.

  69. Re:Will Internet Explorer 7 fix the existing leaks by cosinezero · · Score: 1

    Actually, since a lot of the AJAX memory leaks are due to the external ActiveX XMLHttpRequest objects that Mozilla just built in to the browser, ...one might argue that Mozilla has sidestepped this issue by NOT adhering to standards by including their own XMLHttp implementation inside their object model.

    I mean, unless you can tell me which version of JS standards support XMLHttp??

  70. Not supporting IE by Anonymous Coward · · Score: 0

    I am reminded of a very popular message board community whose site does not display well in IE. The admin just got fed up with dealing with IE's crap, and decided to just write standards compliant code with CSS. There's even a Firefox Toolbar, and a get Firefox link on the news page. See http://www.4chan.org/ WARNING:NSFW!!

  71. That's what I want by metamatic · · Score: 1

    When I read the article blurb, I immediately thought that I wanted the opposite.

    I'd like to know what features I can put on a web page that will cause IE to leak memory as quickly as possible, but not cause any harm to Firefox.

    That way I can sneak the appropriate code onto every web site I build, until people get so sick of IE running slow and swapping like mad that they switch to Firefox.

    Anyone have any recommendations?

    --
    GCHQ Quantum Insert installed. If only our tongues were made of glass, how much more careful we would be when we speak
    1. Re:That's what I want by rice_burners_suck · · Score: 1
      That way I can sneak the appropriate code onto every web site I build, until people get so sick of IE running slow and swapping like mad that they switch to Firefox.

      You are a good and righteous person.

      By leveraging innovative technologies, content providers streamline compelling enterprise solutions.
      Keep up the good work.
  72. M$ ads by Anonymous Coward · · Score: 0

    why is there a Microsoft ad on this page (and many others on /.)?

  73. mc! by Teun · · Score: 1

    There is a Midnight Commander clone for MS Windows and it works reasonably well.

    --
    "The likes of Facebook and WhatsApp are free to those whose privacy is of zero value."
  74. Who says you can't NOT run on IE? by jms1 · · Score: 1

    My own web site does it... www.jms1.net... or for those not using IE, www.jms1.net/ie.html is what the IE people are seeing. (And before every moron on the planet decides to tell me this at the same time, I already know you can use google's cache to view the site.)

    Surely I'm not the only person out there who excludes IE from accessing their web site?

    (Self-slashdotting... is that like suicide?)

  75. My fix for IE leaks... by Anonymous Coward · · Score: 0
    If a browser reports that it's IE (even if it's really Opera), just have your code display the message "We're sorry, but our site uses 21st century programming and you are using a 20th century browser. Please update your browser to a more modern version!"

    ...with links to Mozilla and Opera. I'm so sick of being turned away from somebody's crap web site because I'm running Linux.

    Turnabout is fair play.

  76. huh. by coolGuyZak · · Score: 1

    I have heard the rumors that MS disbanded the IE dev team. I see them as "possibly valid". Overall, I don't care about it... I use Konq most of the time. However, I will take some time to point out a few flaws in your reasoning. :)

    otherwise where is IE7 coming from??

    Could it be that Microsoft, along with it's power to disband teams, can also put them together? Is such a thing impossible?

    If you've ever done any serious app development you'd know that the work going into the product in the first few versions FAR outweighs the last few. Later versions of applications are often refactoring or building on your existing base.

    Actually, that only applies for software that you don't plan on supporting. Software maintenance accounts for over 75% of the computer programming industry. This doesn't only include refactoring and adding/changing functionality. Finding and fixing bugs and security exploits is the most important aspect.

    Even excluding that, new standards for internet document design come out all the time. The past few years have seen the fall of HTML for XHTML, and CSS2 will be succeeded by CSS3. That alone should cause microsoft to have a full contingent of staff working on IE.

    2. If you've ever taken a look at microsoft's roadmap throughout the mid-late 90's & early 2K you'd know why they needed many more developers; During that time they launched Win95 (new OS codebase), NT4, WinXP, and Win2K. Dramatically different and new OS's and APIs requiring a lot more developers at the time.

    This point is already covered by my last paragraph--Web standards have sped up, not slowed down.

    Also, Microsoft claims to be incredably innovative, but what innovations have they touted with their browser?? None. Nada. Nothing Zip. Zilch. Zero. They haven't even add tabbed browsing in the past 4 years... (Yes, I know. IE7 has it)

    Meanwhile, let's look at how KDE has chosen to innovate their browser (I look at konq b/c I know it better than Mozilla):

    • Tabbed browsing
    • Integration with tons of internet resources -- from google to babelfish (granted, IE has plugins).
    • Integration with KWallet (KDE password manager)
    • Integration with KGet (KDE download manager)
    • Mouse gestures (via KHotKeys)
    • Text boxes that not only have their own undo & redo queue, but also save their text when you press forward & backward... and spellcheck.

    That in itself lends particularly well to the credability of the rumor.

    2 point 2's? heh. Sorry, just had to be a pedantic bastard.

  77. Problems with IE? by God+of+Lemmings · · Score: 1

    I'm yet again seriously tempted to start forcing IE to load popups saying "Your system requires one of these browsers to continue" with links to standards supporting browsers.... and perhaps load a page with a big blue question mark in the center.

    Or better yet, let them continue, but throw a warning popup that their system may become unstable if they continue... then crash IE with some trivial bit of code.... but this would take some kind of widespread grass roots movement to become effective.

    --
    Non sequitur: Your facts are uncoordinated.
  78. You can't not run IE... by Laconian · · Score: 1

    but you can not not run IE!

  79. Java Garbage Collection by Iffy+Bonzoolie · · Score: 1

    Well, there is such a thing as concurrent garbage collection, which, as far as I know, is still basically experimental. The default garbage collection scheme in the Sun JVM (of which there are several) IS triggered by being unable to allocate space on top of the heap (due to its being full). When a GC is triggered, ALL threads are locked down during the GC, so nothing can be mutated which the GC goes through it's "mark" phase of flagging live objects. It then runs through the heap and compacts all the live objects, leaving all the empty space at the end of the heap. Then only at that point, does it allow the VM to continue running.

    Also the way Sun's JVM's stupid thread priority system works, a lower priority thread only executes when no threads of higher priority are "runnable", meaning they are all blocked. This makes it VERY easy to starve out lower priority threads, unless you are careful to ensure that ALL threads are in a not-runnable state - asleep, blocked, etc - periodically (hopfully when they don't have any work to do). Obviously the GC works even if you do a tight while (true) { new blah[100]; } loop in a higher priority thread.

    -If

    --
    Run a pencil-and-paper RPG campaign with your far-off friends: Gametable!
  80. Microsoft's innovation by jesterzog · · Score: 1

    So let's be clear where the blame belongs. Microsoft tried to innovate. They encouraged people to use the results of their innovation. And, people willingly did, thus creating the current situation.

    The most irritating part of Microsoft's "innovation" for me, when I was a web developer, was when Microsoft ensured that all of their Javascript example code in MSDN used curved brackets () for array accesses instead of square brackets []. There was no difference nor advantage of supporting curved brackets except to provide yet another way that naive developers could accidentally make their code incompatible with non-IE products.

    Trying to fix thousands of lines of co-worker's copied-and-pasted code was a nightmare.

  81. don't bother with personal attacks... by Anonymous Coward · · Score: 0

    ...the reality of the situation is hilarious enough:

    My Services
    I specialize in the latest and greatest in Microsoft technologies. My greatest strengths lie in full life-cycle development of web-based projects utilizing the Microsoft .NET Architecture with a Microsoft SQL Server 2000/2005 backend. My .NET language of choice is C# within the Microsoft Visual Studio envrironment.

    I subscribe to the Microsoft Solutions Framework for the planning and implementation of software projects. The Microsoft Solutions Framework is a proven methodology to deliver your IT visions on time and on budget.

    Benefits of using a Subcontractor
    The choice of using a subcontractor versus hiring a full-time employee is an important choice with many aspects to consider. When making your decision, consider the following...

    .oh my! and the site hosting this tripe is hideous! :D

  82. Re:Purpose is but slave to memory --Hamlet by EvanED · · Score: 1

    It's a little sad that when you raise this issue, you immediately think of .NET. Java was there first

    It's a little sad that you think of Java when complaining that he didn't think of the first. There were PLENTY of GC'd languages before Java came around.

    Java came out 1995ish. I'm pretty sure Smalltalk was GC'd, and that was from 1969. I'm pretty sure Simula was GC'd, and that was from 1964.

    So really, both Java and .Net are younglings when it comes to GC, and you complaining about him gyping Java is no less sad than him gyping Java.

  83. Re:Purpose is but slave to memory --Hamlet by Negatyfus · · Score: 1

    I didn't mean to bring up .NET first, or anything-- point is, that .NET is pretty good. It's no use denying it just because it's from Microsoft.

    I'll readily agree that Sun's first implementation left a lot to be desired. They shaped up nicely and added a lot over time. Their JVM is pretty nice these days and should be competitive with .NET. Still, .NET does most things right, as well.

    It really shouldn't matter who comes with the right technology. As far as I can see, Microsoft's solution is as open as they've ever been. It's all about the level of real implementations that are out there right now that *work*.

    I suppose that when Microsoft introduces more of their software on the .NET platform, more software will come to adhere to that frameworm, seeing as how most desktops are still run with Microsoft software. Hopefully the industry will stay competitive and technology will continue to progress.

  84. Don't blame the developer for Microsoft's mistakes by Anonymous Coward · · Score: 0

    JavaScript is supposed to have automatic memory management. These leaks are fundamentally caused by bugs in Microsoft's implementation of that.

    Here's an example.

    But the memory management for JavaScript and the memory management for native browser components are separate and cannot communicate.

    Suppose that a form element's event handler is a closure with a reference to another form element. (You would get a performance boost if you could do this, and it also simplifies a bit of code.)

    When you run it on IE you'll leak the entire page, every time you load it. The JavaScript memory management system will not unload the handler because it is referenced from the form element that it is a handler for. The memory manager for the rest of IE won't unload that form element because it is referenced by the page which is referenced by the form element that the closure is pointing to.

    The entire point of having true memory management (rather than reference counting) is that circular loops like this should get cleaned up properly. We've known how to do that for decades. But Microsoft forgot the most basic lesson, to make this work properly you need to have only one component in charge of all of the memory.

    In fact I'll go so far as to say that while it is true that people can build pages that take a tremendous amount of memory to load, and developer error can cause you to leak memory while the page is sitting there, any memory leak that lasts as you navigate from page to page is due to bugs in the browser. (And IE has plenty of them!)

  85. That's a fun linguistic distinction by Anonymous Coward · · Score: 0

    In fact "can't" actually means "not can". So saying "You can't not do this" means "You not (can not do this)" which translates to "You must do this."

  86. Re:Purpose is but slave to memory --Hamlet by fm6 · · Score: 1
    Java came out 1995ish. I'm pretty sure Smalltalk was GC'd, and that was from 1969. I'm pretty sure Simula was GC'd, and that was from 1964.
    You're right. In fact, the HotSpot VM, which is now Sun's standard Java VM, was originally conceived as a Smalltalk VM by Animorphic Systems. Then Sun, looking to beef up its own feeble VMs, bought Animorphic in 1997 and folded them into JavaSoft.

    But Smalltalk never got anything like the acceptance that Java got. It was just too far away from the way most programmers work. So even though there have been first-rate Smalltalk implementations from the very beginning -- and work on Smalltalk continues to this day -- it's never been a major contender as a programming language.

    Java, by contrast, made enough comprimises with C++-style programming to be quickly accepted by professional developers. Perhaps a little too quickly, because Java's reputation for poor performance was firmly established by the horrible VMs and compilers Sun released early on.

    So now .NET what people first think of when they think of VMs, because Microsoft has grabbed the ball that Sun dropped. They'll certainly drop it too, but that only makes it even more sad.

  87. There are realtime GCs by Julian+Morrison · · Score: 1

    There are GC algorithms that can be done in realtime (meaning known bounded time). They're slower, but they exist.

    Also don't assume that malloc/free are realtime! malloc/free has to traverse a free list, and will usually coalesce, sort and categorize blocks. new/delete in C++ may also run arbitrary amounts of setup or finalization. Depending how the free list is organized, deallocation order may affect performance in odd ways.

    If you're coding for hard realtime embedded apps, you shouldn't malloc. Predefine buffers or design the algorithm so it doesn't use heap.

    1. Re:There are realtime GCs by pthisis · · Score: 1
      If you're coding for hard realtime embedded apps, you shouldn't malloc. Predefine buffers or design the algorithm so it doesn't use heap.


      Not disagreeing, just clarifying:

      It's perfectly reasonable to use malloc at application startup (e.g. to create those buffers). You need to make sure you actually allocate that memory (many malloc implementations are lazy and only allocate the VM space at malloc time, but you need to touch it to actually get the pages allocated), and you should lock it in memory (along with every page you use--see, e.g., mlockall).

      And, of course, you need a hard-realtime scheduler (rtlinux, QNX, etc--there are ongoing efforts to bring hard rt responses to regular Linux, but it's not nearly there yet, nor are any other major consumer OSes).
      --
      rage, rage against the dying of the light
  88. Compacting conservative GC by Julian+Morrison · · Score: 1

    See here.

    Anything above writing your own heap allocator over raw OS calls is "a crutch". It's merely a matter of choosing the right crutch.

    File handles and network connections? That's none of the GC's business. The algorithm deals with that stuff - GC is there to save you the hassle of asking "who owns this object to delete it" and "is this pointer still good". GC lets you nest function calls in the knowledge intermediate objects won't leak. It lets you grab an arbitrary object and point to it from a data structure without worrying it will become invalid. It's not there to do shutdown housekeeping, that's a C++ism.

  89. You had 1's? We had to use litlle L's! by MarkusQ · · Score: 1

    Anything above writing your own heap allocator over raw OS calls is "a crutch". It's merely a matter of choosing the right crutch.

    Even writing your own allocator could be considered a crutch. Using a the operating system? Pshaw! Real men talk to the metal directly. C is a crutch. So is assembly.

    In short, I agree with your point completely. I've written microcode, when I had to. I've designed special purpose hardware (with the help of an EE to keep me from making too many dumb-programmer blunders) when it was needed. But 99.9% of the time I work with the strongest crutches I can find--though I tend more to think of them as power armor.

    C programmers who think they're living on the cutting edge of something should look around more.

    --MarkusQ

  90. RE: IE Leaks by JimGardner1973 · · Score: 1

    "..You can't not run on IE.." I take the point, but personally I can't imagine ever pandying to internet explorer ever again as long as I live. I couldn't care less if my "errors" cause people who use my sites difficulty, that's there look out for being stupid enough to use Windows in the first place. Buy a proper computer that runs proper software by people who know how to write good code, end of problem.

    --
    http://electricguitarlessons.blogspot.com