My question is whether this setting is the limitation of one isolate? Or is it a global setting?
On Thu, Jun 27, 2019 at 6:27 PM 'Ulan Degenbaev' via v8-dev < [email protected]> wrote: > Clarification: if 40MB is the expected size of live objects, then you > probably want to have some free space in heap to avoid GC storm. > So --max-semi-space-size=1 --max-old-space-size=80 might be better in that > case. > > On Thu, Jun 27, 2019 at 12:21 PM Ulan Degenbaev <[email protected]> wrote: > >> --max-semi-space-size=1 --max-old-space-size=37 would keep the heap size >> at around 40. >> >> FYI, I am adding a new flag --max-heap-size that will be available in >> future versions of V8: >> https://chromium-review.googlesource.com/c/v8/v8/+/1679500 >> >> On Thu, Jun 27, 2019 at 12:08 PM Jakob Kummerow <[email protected]> >> wrote: >> >>> The first thing to try is always not to pass any special flags. Does >>> that run into any issues? >>> >>> On Thu, Jun 27, 2019 at 9:47 AM Chunhui Li <[email protected]> >>> wrote: >>> >>>> Adding one another condition, as time goes on, some of the isolates >>>> will be disposed and some other new isolates will be created. >>>> >>>> >>>> On Thursday, June 27, 2019 at 11:32:54 AM UTC+8, Chunhui Li wrote: >>>>> >>>>> I'm using embedded v8 in my server. Each isolate will be about 40M, >>>>> and there will be 100 isolates at the same time. What should I pass to V8 >>>>> with --max-semi-space-size and/or --max-old-space-size? >>>>> >>>> -- >>>> -- >>>> 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 on the web visit >>>> https://groups.google.com/d/msgid/v8-dev/1e459273-7be1-4d0d-8f06-2c50a817630a%40googlegroups.com >>>> <https://groups.google.com/d/msgid/v8-dev/1e459273-7be1-4d0d-8f06-2c50a817630a%40googlegroups.com?utm_medium=email&utm_source=footer> >>>> . >>>> For more options, visit https://groups.google.com/d/optout. >>>> >>> -- >>> -- >>> 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 on the web visit >>> https://groups.google.com/d/msgid/v8-dev/CAKSzg3RCfep2nF-bFfUBErJphvMZqVeJiPzk30fgOVcM7uv13A%40mail.gmail.com >>> <https://groups.google.com/d/msgid/v8-dev/CAKSzg3RCfep2nF-bFfUBErJphvMZqVeJiPzk30fgOVcM7uv13A%40mail.gmail.com?utm_medium=email&utm_source=footer> >>> . >>> For more options, visit https://groups.google.com/d/optout. >>> >> -- > -- > 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 on the web visit > https://groups.google.com/d/msgid/v8-dev/CABNJt2%2BpEWv4X%3DwecicvySgNXJWH-epJ6Yzbm-KeZN0V9UxMUg%40mail.gmail.com > <https://groups.google.com/d/msgid/v8-dev/CABNJt2%2BpEWv4X%3DwecicvySgNXJWH-epJ6Yzbm-KeZN0V9UxMUg%40mail.gmail.com?utm_medium=email&utm_source=footer> > . > For more options, visit https://groups.google.com/d/optout. > -- -- 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 on the web visit https://groups.google.com/d/msgid/v8-dev/CAPw3yvyNVSjMYt4bCt0gdiw6hEWWtRMbGBsxhbjXSq80j%2BZ19Q%40mail.gmail.com. For more options, visit https://groups.google.com/d/optout.
