<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BR>I think,<BR>
the first thing to do is make sure the script tag resides inside the document body.<BR>
(the place where it legally belongs)<BR>
Second&nbsp;thing to do is, modify your script to call the preloader function only once, not <BR>
every time you run the script.<BR>
If this fails the third thing in mind would be to use "meta" expire at least every hour.<BR>
<BR><BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Troy&nbsp;III<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;progressive&nbsp;art&nbsp;enterprise<BR>~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~<BR><BR><BR>
<BLOCKQUOTE style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #008080 2px solid; MARGIN-RIGHT: 0px">
<HR id=EC_stopSpelling>
From: riegel@clearimageonline.com<BR>Subject: Re: [Javascript] virual memory proeblem<BR>Date: Sat, 9 Sep 2006 17:07:53 -0400<BR>To: javascript@LaTech.edu<BR><BR>This may not be a good solution, but what if you reloaded the page every hour, wouldn't that clean out any stuff that isn't being used on that page and start fresh?
<DIV><BR class=EC_khtml-block-placeholder></DIV>
<DIV>Terry</DIV>
<DIV><BR class=EC_khtml-block-placeholder></DIV>
<DIV><BR>
<DIV>
<DIV>On Sep 9, 2006, at 7:03 AM, suresh kumar wrote:</DIV><BR class=EC_Apple-interchange-newline>
<BLOCKQUOTE>
<DIV><BR>Hi,</DIV>
<DIV>&nbsp;&nbsp; thxs for reply,but we are not only displaying only the image ad ,we are displaying&nbsp; image ad using &lt;img&gt;&nbsp; object,flash and movie ad using &lt;embed&gt; object and text ad using &lt;p&gt; object.&nbsp;fior displaying the first ad i am using appendchild() function and then i am using replacechild() function that will replace the current playing ad with the new one.</DIV>
<DIV>&nbsp;&nbsp; my request is is there any common object &nbsp; that will display image,text ,movie and flash ad.i am new to this javascript field.tnxs for reply</DIV>
<DIV>&nbsp;</DIV>
<DIV>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &nbsp;A.suresh<BR><B><I>Alex Turner &lt;<A href="mailto:Alex.Turner@Project-Network.com">Alex.Turner@Project-Network.com</A>&gt;</I></B> wrote:</DIV>
<BLOCKQUOTE class=EC_replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">
<DIV class=EC_Section1>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Suresh,</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">It sounds like for some reason you are creating image objects all the time and they are not being garbage collected.&nbsp; Truth be told, browsers are not really designed to do this sort of thing, so even if your code is theoretically correct, you might have to ‘help it along’ a bit to get the browser to behave properly.</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">I would suggest that you use one image and cycle its src attribute instead.</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">To do the preload, again use one image object which is not actually displayed and cycle its src until all are in the cache. &nbsp;The browser cache is at the url level not the object level, so there is no requirement to store image objects for the data they contain to be cached.</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">Hope it helps.</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">&nbsp;</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">AJ</SPAN></FONT><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial"></SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><FONT face=Arial color=navy size=2><SPAN style="FONT-SIZE: 10pt; COLOR: navy; FONT-FAMILY: Arial">&nbsp;</SPAN></FONT></DIV>
<DIV>
<DIV class=EC_MsoNormal><EM><I><FONT face=Arial color=gray size=1><SPAN style="FONT-SIZE: 8pt; COLOR: gray; FONT-STYLE: normal; FONT-FAMILY: Arial">Alexander J Turner Ph.D.</SPAN></FONT></I></EM><FONT color=navy><SPAN style="COLOR: navy"> <BR><I><SPAN style="FONT-STYLE: italic"><A href="http://www.deployview.com/" target=_blank><FONT face=Arial color=gray size=1><SPAN style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">www.deployview.com</SPAN></FONT></A><BR><A href="http://www.nerds-central.blogspot.com/" target=_blank><FONT face=Arial color=gray size=1><SPAN style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">www.nerds-central.blogspot.com</SPAN></FONT></A><BR><A href="http://www.project-network.com/" target=_blank><FONT face=Arial color=gray size=1><SPAN style="FONT-SIZE: 8pt; COLOR: gray; FONT-FAMILY: Arial">www.project-network.com</SPAN></FONT></A></SPAN></I></SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal style="TEXT-ALIGN: center" align=center><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">
<HR align=center width="100%" SIZE=2>
</SPAN></FONT></DIV>
<DIV class=EC_MsoNormal><B><FONT face=Tahoma size=2><SPAN style="FONT-WEIGHT: bold; FONT-SIZE: 10pt; FONT-FAMILY: Tahoma">From:</SPAN></FONT></B><FONT face=Tahoma size=2><SPAN style="FONT-SIZE: 10pt; FONT-FAMILY: Tahoma"> javascript-bounces@LaTech.edu [<A href="mailto:javascript-bounces@LaTech.edu">mailto:javascript-bounces@LaTech.edu</A>] <B><SPAN style="FONT-WEIGHT: bold">On Behalf Of </SPAN></B>suresh kumar<BR><B><SPAN style="FONT-WEIGHT: bold">Sent:</SPAN></B> 09 September 2006 06:55<BR><B><SPAN style="FONT-WEIGHT: bold">To:</SPAN></B> <A href="mailto:javascript@latech.edu">javascript@latech.edu</A><BR><B><SPAN style="FONT-WEIGHT: bold">Subject:</SPAN></B> [Javascript] virual memory proeblem</SPAN></FONT></DIV></DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">Hi,</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;&nbsp; I am facing one problem in my project.i am working in myadtv project that will display ads one by one in big LCD screen .</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;&nbsp;suppose if i want &nbsp;display 100 ads one by&nbsp;one &nbsp;for a particular duration,after displaying the 100 th ad again it will start from 1 ad and goes in a loop until the user closes the browser.</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;my problem is&nbsp; ,if its runs &nbsp;for continuously more than 10 hours if am displaying the message as </SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; " your system virtual memory is too low,windows is increasing the size of the virtual memory paging file ,during this process memory request for some application may be denied".&nbsp;&nbsp;&nbsp; i can't understand this error message ,can any one tell me what this errror &nbsp;message.</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; the logc behind our code&nbsp; -&nbsp;&nbsp; we are using javascript "imagepreloader()&nbsp; function to load the ads in the browser cache once it gets loaded then it will start displaying one by one.</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; </SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</SPAN></FONT></DIV></DIV>
<DIV>
<DIV class=EC_MsoNormal><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp;</SPAN></FONT></DIV></DIV>
<DIV><FONT face="Times New Roman" size=3><SPAN style="FONT-SIZE: 12pt">&nbsp; </SPAN></FONT></DIV></DIV></BLOCKQUOTE></BLOCKQUOTE></DIV></DIV></BLOCKQUOTE><br /><hr />Express yourself with gadgets on Windows Live Spaces <a href='http://discoverspaces.live.com?source=hmtag1&loc=us' target='_new'>Try it!</a></body>
</html>