Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > Javascript > Mac IE out of memory errors

Reply
Thread Tools

Mac IE out of memory errors

 
 
D. Alvarado
Guest
Posts: n/a
 
      11-25-2003
Does anyone have any script that might be useful in detecting Mac OS
9.x, IE 5.x out of memory errors before they occur? I understand the
solution (to jack up the virtual memory allotted to IE), but I would
like to alert end users this is what they need to do rather than have
them see some cryptic javascript error (or nothing at all if they have
script debugging turned off).

Much thanks - Dave
 
Reply With Quote
 
 
 
 
Michael Winter
Guest
Posts: n/a
 
      11-25-2003
D. Alvarado wrote on 25 Nov 2003:

> Does anyone have any script that might be useful in detecting
> Mac OS 9.x, IE 5.x out of memory errors before they occur? I
> understand the solution (to jack up the virtual memory allotted
> to IE), but I would like to alert end users this is what they
> need to do rather than have them see some cryptic javascript
> error (or nothing at all if they have script debugging turned
> off).


That's not even close to possible with JavaScript.

Mike

--
Michael Winter
d (remove ".invalid" to reply)
 
Reply With Quote
 
 
 
 
VK
Guest
Posts: n/a
 
      11-25-2003
You may try to narrow the "memory consuming" block and enclose it into
try...catch...finally... statement.

But from my humble experience by this time you'll not need it, because
by this time you'll find the actual error in your code. Despite
JavaScript/JScript memory limits never were precisely exposed, but they
are VERY large. Thus:

1) either you are trying to load a 5-10Mb Oracle database into Array (or
so of this kind)
2) or you've made a recursive function call loop like:
....
function a(r){b(this);}
// looping till the end of the stack...
function b(r){a(this);}
....

I would concentrate on the option 2


 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Out-of-memory errors and caching errors. George1776 ASP .Net 2 09-14-2006 03:34 PM
MAc guru's out there.....cloning a Mac OS9.2 drive thingy NZ Computing 3 05-13-2006 07:10 AM
Out of memory errors John Smith Java 1 10-04-2005 09:27 AM
Errors, errors, errors Mark Goldin ASP .Net 2 01-17-2004 08:05 PM
Web COM+ interop results in out of memory errors ShikariShambu ASP .Net 1 12-30-2003 07:29 AM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57