Does Firefox have a javascript array limitation

Discussion in 'JavaScript' started by schmidte, Nov 30, 2009.

  1. #1
    I'm using an external javascript file which has an array ("word1","word2","word3" and so on). The array is fairly large and has worked fine in both Firefox and Internet Explorer. I recently added more entries to the array, it still works fine in Internet Explorer but not in Firefox. If I make the array a certain size, it quits working in FF, but if I get rid of just one entry, it starts working again.
    Example: 1001 entries...doesn't work, 1000 entries....it works.
    It doesn't seem to matter the physical size of the file (in KB), just the number of entries in the array.
     
    schmidte, Nov 30, 2009 IP
  2. Amit Oxy

    Amit Oxy Guest

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    heck this out on computer with higher RAM
     
    Amit Oxy, Nov 30, 2009 IP
  3. schmidte

    schmidte Peon

    Messages:
    345
    Likes Received:
    18
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Ya, it works on a computer with more memory. What's the reason....
     
    schmidte, Nov 30, 2009 IP
  4. Amit Oxy

    Amit Oxy Guest

    Messages:
    19
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    Firefox needs more ram than IE, ue to our addons and all the applations.. also many sites are optimized for IE rather than firefox.
     
    Amit Oxy, Nov 30, 2009 IP