As Toon said before, you cannot and you should not trigger GCs manually.
On Mon, Sep 2, 2013 at 2:09 PM, sihaowu <[email protected]> wrote: > Thanks for your replies. I have another question. > If somehow I want it to do GC from the client side (let's say I just want > to call gc() function), since most of the computation is doing in the > client side, not server side. Is it doable and how can I ? > Thank you. > > Best > Si-Hao Wu > > sihaowu於 2013年9月2日星期一UTC+8上午2時25分29秒寫道: > >> Hi all : >> >> As far as I know, I can force GC to be triggered from the API or >> I can run this >> >> > ./d8 --expose_gc XXX.js >> >> to expose gc() function so I can call it from the javascript. >> Let's say I run a webapp, and I call gc() in my javascript code. >> Will the GC be triggered if the user runs my webapp on his side ? >> (note that in the user's side, he does'n expose the gc flag) >> >> Thanks. >> >> >> -- > -- > v8-users mailing list > [email protected] > http://groups.google.com/group/v8-users > --- > You received this message because you are subscribed to the Google Groups > "v8-users" group. > To unsubscribe from this group and stop receiving emails from it, send an > email to [email protected]. > For more options, visit https://groups.google.com/groups/opt_out. > -- -- v8-users mailing list [email protected] http://groups.google.com/group/v8-users --- You received this message because you are subscribed to the Google Groups "v8-users" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. For more options, visit https://groups.google.com/groups/opt_out.
