I found that when compiling V8 with Pointer Compression enabled but Sandbox 
disabled, the ExternalPointerTable only increases without decreasing, 
causing a memory leak. After a detailed investigation, I discovered that 
the garbage collection-related calls for the ExternalPointerTable are 
shielded by Sandbox-related macros. After enabling Sandbox, the leak is 
resolved, but the garbage collection of the ExternalPointerTable introduces 
approximately 100MB of peak memory usage and around 50MB of normal memory 
usage, which completely offsets the memory reduction brought by Pointer 
Compression. Is there a way to reduce the garbage collection overhead of 
the ExternalPointerTable or resolve the memory leak issue without enabling 
Sandbox?

-- 
-- 
v8-dev mailing list
[email protected]
http://groups.google.com/group/v8-dev
--- 
You received this message because you are subscribed to the Google Groups 
"v8-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion visit 
https://groups.google.com/d/msgid/v8-dev/0aa213b4-38a6-459f-8302-563d69645374n%40googlegroups.com.

Reply via email to