AW: [Javascript] Clean up memory space used by variable

Rupp Thomas (Illwerke) thomas.rupp at illwerke.at
Thu Aug 16 08:46:00 CDT 2001


My ASP file has the suggested line (Set myMail = Nothing) after sending the
mail.
But I don't know if this is necessary or not.

Thomas Rupp

> -----Ursprüngliche Nachricht-----
> Von:	Beekman, Ron [SMTP:rbeekman at hiscom.nl]
> Gesendet am:	Donnerstag, 16. August 2001 15:40
> An:	'javascript at LaTech.edu'
> Betreff:	[Javascript] Clean up memory space used by variable
> 
> Hello, I use some server-side JavaScript for sending an email.
>  
> <%
> var myMail = Server.CreateObject("CDONTS.NewMail")
>  
> ... some more coding ...
>  
> myMail.Send()
> %>
>  
> How can I free up the memory space after the email is sent?
>  
> In VBscript, "set myMail = Nothing" is used to free up the memory space.
> Is there any need for this in JavaScript?
>  
> Any suggestions are welcome, TIA!


------------------------------------------------------------------------------------------
Dieses eMail wurde auf Viren geprueft.

Vorarlberger Illwerke AG
------------------------------------------------------------------------------------------



More information about the Javascript mailing list