C_BLOB(vx_HTMLBlob) C_BLOB(vx_Dummy) $result := 4DMehod ($theParam1;$textParam2;...;->vx_HTMLBlob)if($result =0) set response buffer(vx_HTMLBlob;"text/html") else writebr("ERROR!!!") End If vx_HTMLBlob:=vx_Dummy
Hmmm...there are a couple places I could be leaking memory, I will have to investigate further.
(6) vx_HTMLBlob is assigned a dummy empty blob at the end to clean it from memory (that is not original code, I did it so as to test).
Better to use SET BLOB SIZE(0). Regards, Aparajita www.aparajitaworld.com "If you dare to fail, you are bound to succeed." - Sri Chinmoy | www.srichinmoy.org _______________________________________________ Active4D-dev mailing list [email protected] http://mailman.aparajitaworld.com/mailman/listinfo/active4d-dev Archives: http://mailman.aparajitaworld.com/archive/active4d-dev/
