--
The external memory is the one the internal heap knows about:
uint64_t Heap::external_memory() const { return external_memory_.total(); }The following code in wasm-engine.cc:1015 attributes external memory to the isolate, in the From() call on the second-to-last line.
Is the native_module likely to be shared between isolates here, and long lived?
Could it be that it is gradually committing more code space, causing later isolates to get a higher externalmemory size?
(does this backquoting work in email for fixed formatting? Probably not).
- from what you describe, perhaps it would be feasible to craft a reproducer. It'd probably have to be a custom V8 embedder that, in a loop, creates many fresh isolates and instantiates/runs the same (or several?) demo Wasm module in them.
--
--
v8-dev mailing list
v8-...@googlegroups.com
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 v8-dev+un...@googlegroups.com.
To view this discussion visit https://groups.google.com/d/msgid/v8-dev/CAHZxHpjNJWYQC9HoNtFon2k8mh79nYmTwMJpCn5K6woayHCBbQ%40mail.gmail.com.
Clemens Backes
Software Engineer
Google Germany GmbH
Erika-Mann-Straße 33
80636 München
Registergericht und -nummer: Hamburg, HRB 86891
Sitz der Gesellschaft: Hamburg
Diese E-Mail ist vertraulich. Falls sie diese fälschlicherweise erhalten haben sollten, leiten Sie diese bitte nicht an jemand anderes weiter, löschen Sie alle Kopien und Anhänge davon und lassen Sie mich bitte wissen, dass die E-Mail an die falsche Person gesendet wurde.
This e-mail is confidential. If you received this communication by mistake, please don't forward it to anyone else, please erase all copies and attachments, and please let me know that it has gone to the wrong person.