[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Memory limits.

I can confirm the same problem (Netscape 2.0 and WIN31).
I find the problems occur at about 38-30k.

BTW - commenting out sections of code has no effect. You still
get the same crazy syntax errors like "unterminated string" etc.

My soulution was the same as yours. ie. split the code.
Clayton Drury wrote:
> Hi all,
> I have a curious problem. I am developing a new site which makes
> extensive use of JavaScript. So much so that I have one frame with
> 40K of JavaScript in it. And this is where my problem lies.
> When I load the page containing the 40K frame in NT there are no
> problems. When I load the same page in Win 3.11, however, I get
> syntax errors where I know there are none.
> It appears that not all of the code is being loaded by Navigator.
> Breaking up the code and placing it in two frames confirmed my
> suspicions. All of the code loaded with no syntax errors. It seems
> that Navigator can only handle a certain amount of code per page.
> I did a word count and it seems to fall over at about 27,000
> characters.
> Can anyone confirm this for me? Is what I think is happening what
> is really happening? What is the exact limit? How can I change it?
> What is the limit based on? Does it change from platform to
> platform? Is there any other way around it other than using more
> frames?
For help about the list, please send a message to 'majordomo@obscure.org'
with the message body 'help'. To unsubscribe, send a message to
'majordomo@obscure.org' with the message body 'unsubscribe javascript'.
List archives and pointer to FAQ: http://www.obscure.org/javascript/