I found the memory leak is caused by the following two flags: gdbjit_full 
and harmony rest parameters.  Removing them fixed the problem.

Thanks Ben for your help.

On Wednesday, December 14, 2016 at 11:36:06 PM UTC-8, Jane Chen wrote:
>
> I did. I didn't find anything related to isolate disposal.
>
> I tried creating and disposing isolates in a loop in v8_shell and cannot 
> reproduce a memory leak. I'm trying other things to narrow down the problem.
>
> On Wednesday, December 14, 2016 at 12:46:55 AM UTC-8, Ben Noordhuis wrote:
>>
>> On Wed, Dec 14, 2016 at 2:47 AM, Jane Chen <[email protected]> wrote: 
>> > For experiment, I just changed my implementation to always dispose and 
>> > recreate isolates after each JavaScript execution.  I can easily 
>> reproduce a 
>> > memory leak and my server process runs out of memory within an hour. 
>> > 
>> > If I reuse the isolates, the server holds up for days executing the 
>> same set 
>> > of requests. 
>>
>> Can you check with valgrind? 
>>
>

-- 
-- 
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.

Reply via email to