Browser Memory

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • arkerpay2001@yahoo.com

    #1

    Browser Memory

    Hi all,

    Developing in JavaScript for IE6+ and Mozilla 1.7+. Could someone
    please direct me to a reference that describes how memory in managed
    within the browser? I need to know how much memory is available to my
    JavaScript program.

    Thanks,

    arkerpay

  • www1

    #2
    Re: Browser Memory




    <arkerpay2001@y ahoo.com> wrote in message
    news:1106683913 .185215.147760@ f14g2000cwb.goo glegroups.com.. .[color=blue]
    > Hi all,
    >
    > Developing in JavaScript for IE6+ and Mozilla 1.7+. Could someone
    > please direct me to a reference that describes how memory in managed
    > within the browser? I need to know how much memory is available to my
    > JavaScript program.
    >
    > Thanks,
    >
    > arkerpay
    >[/color]


    Comment

    • arkerpay2001@yahoo.com

      #3
      Re: Browser Memory

      For the record I spent about two hours googling it and did not find an
      article that answered my query. If anyone is truly knowledgable on this
      subject I'd appreciate it if you could share your knowledge.

      Comment

      • Grant Wagner

        #4
        Re: Browser Memory

        <arkerpay2001@y ahoo.com> wrote in message
        news:1106683913 .185215.147760@ f14g2000cwb.goo glegroups.com.. .[color=blue]
        > Hi all,
        >
        > Developing in JavaScript for IE6+ and Mozilla 1.7+. Could someone
        > please direct me to a reference that describes how memory in managed
        > within the browser? I need to know how much memory is available to my
        > JavaScript program.[/color]

        Your "JavaScript program" has as much memory available to it as your
        operating system can provide to the script host (the Web browser).

        Firefox 1.0 typically uses between 20MB and 100MB on my system. Any
        overhead added by client-side JavaScript is neglible compared to those
        numbers.

        If you anticipate that you will be doing things with client-side
        JavaScript running in a Web browser that will seriously impact the a
        20MB browser memory footprint, then client-side JavaScript running in a
        Web browser is the wrong tool for the job.

        I'd suggest reading <url:
        http://weblogs.asp.net/ericlippert/a.../17/53038.aspx />

        " Now, you can force the JScript garbage collector to run with the
        CollectGarbage( ) method, but I don't recommend it. The whole point of
        JScript having a GC is that you don't need to worry about object
        lifetime. If you do worry about it then you're probably using the wrong
        tool for the job!"

        and <url:
        http://msdn.microsoft.com/msdnmag/is...A/default.aspx />

        " JScript was designed to provide a quick, easy way to write simple
        scripts on Web pages. The fact that you're asking at all makes me think
        that you're using the wrong tool for the job."

        --
        Grant Wagner <gwagner@agrico reunited.com>
        comp.lang.javas cript FAQ - http://jibbering.com/faq


        Comment

        Working...