Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

memory profile #4871

Open
newNcy opened this issue Jun 19, 2024 · 1 comment
Open

memory profile #4871

newNcy opened this issue Jun 19, 2024 · 1 comment
Labels
priority-low Low priority issue ❓ question I've a question!

Comments

@newNcy
Copy link

newNcy commented Jun 19, 2024

Is there any tool that can show how much memory wasmer used during the loading of the module and the instantiation of the module, on windows I just loaded a simple demo that used more than 500 mb of memory, with the help of vs memory heap analysis I only see a few tens of mb allocated, and with the interfaces under vm/src/mmap.rs there is only 270m, I'm not sure if I can find a tool that can show how much memory was used during the loading and instantiation of the module, but I'd like to know. Where is the rest of the 250+mb memory used?

Translated with DeepL.com (free version)

@newNcy newNcy added the ❓ question I've a question! label Jun 19, 2024
@syrusakbary
Copy link
Member

Possible solution: add trace logs that show the size of the compiled artifact.
Suspicion: if the Wasm module is big, perhaps we are keeping it alive in memory as well as the compiled artifact and that might be adding up on memory

@syrusakbary syrusakbary added the priority-low Low priority issue label Jun 20, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
priority-low Low priority issue ❓ question I've a question!
Projects
None yet
Development

No branches or pull requests

2 participants