Re: [v8-users] Memory leak from disposed isolates?

2016-12-13 Thread Jane Chen
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

Re: [v8-users] Memory leak from disposed isolates?

2016-12-13 Thread Jane Chen
Thanks Ben. I'm testing this on Linux. RH7 VM and Fedora 20. It's good to know that you haven't seen this yourself. I am seeing it when I dispose the isolate only when LowMemoryNotification is insufficient to clear stuff. I am sure it's a leak not a fragmentation. This is what I see

Re: [v8-users] Memory leak from disposed isolates?

2016-12-13 Thread Ben Noordhuis
On Tue, Dec 13, 2016 at 3:15 AM, Jane Chen wrote: > Related to this thread: > > https://groups.google.com/forum/#!topic/v8-users/deYE9pzK9b8 > > I am having some difficulty with garbage collection in v8 5.3. As a result, > I do the following after running a JavaScript