Hi, Thanks much for the explanation.
1, We are seeing more time is being taken during the execution of charCodeAt() function (in Encoding the URI) flatten call and more new raw byte strings are being allocated. Our low memory device is not able to allocate much memory in young space and many minor garbage collections are invoked. But , virtual memory keeps on increasing (i.e it looks major GC not yet performed).After sometime, application terminates with allocation failure.Whether this crash can be avoided by initiating/configuring major GC in certain time intervals periodically?. I have seen an option gc_interval but couldn't understand . Whether avoiding flatten can be a good option to avoid memory usage?. But in the comments, i have seen it is necessary for searching a character in big string else it will be slower in search operation?. 2, Shall we see by any tool, so we can identify the function,line number/statement where more CPU cycles are being spent?. Please clarify. Regards, Madan -- -- 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/d/optout.
