I am facing a strange problem while trying to run V8 using several threads: endless growth of used memory in some cases of some intense calls to precompiled scripts (and process some kind of messages).
I use v8::Locker anywhere before I do v8 stuff. Code is not changed. The only change is number of threads to use. Contexts are distributed to threads. Each context is used by the only thread: thread creates context, compiles and runs code using it. If I use just one thread and all context belong to it: the problem dissapears - memory usage goes up and down as expected. If I use more than one thread (two): memory growth. This memory growth is endless and very fast as if my program looses about 10 mb per second. I don't get any idea what is happening. Code is rather big. May be I should try and write some small text reproducing this problem?.. --~--~---------~--~----~------------~-------~--~----~ v8-users mailing list [email protected] http://groups.google.com/group/v8-users -~----------~----~----~----~------~----~------~--~---
