Pool and lazily initialize fast args objects#688
Pool and lazily initialize fast args objects#688AnsisMalins wants to merge 3 commits intoClearFoundry:masterfrom
Conversation
|
hm, looks like something i need for my use case i'm working on e-commerce framework with scripting capabilities via ClearScript and i see extreme memory leaks when scripts executed under high load unmanaged memory grows to infinity with each execution ( i use FastProxy way) |
|
Hi @AnsisMalins, This is an interesting change. Comments/questions:
Thanks! |
|
Hi @smokeelow,
That's definitely concerning, and we'd love to help you get to the bottom of it, but this change affects only managed memory. If you can provide any details about the leaks you're seeing, please create a new issue. Thanks! |
will create an issue today with snapshots etc. thanks! |
|
I'm struggling to split my changes into small pull requests that you're more likely to accept. The V8FastArg change makes sense when I add APIs to obtain values without calling GetObject. I'll update the pull request soon™. |
Second attempt at achieving zero unsolicited allocations in fast args. First attempt: #685