Re: [v8-dev] Limit memory usage by all isolates

2023-08-08 Thread Meir Shpilraien
Thanks, I was looking at the page allocator but it does not seems like the memory for isolate is allocated from it. Is it true or did I miss something? In general I do not want to fail the allocation but only to know how much was allocated so I can take actions when the memory usage become to

Re: [v8-dev] Limit memory usage by all isolates

2023-05-10 Thread Ben Noordhuis
On Tue, May 9, 2023 at 3:05 PM Meir Shpilraien wrote: > > I know I can limit the memory used by a single isolate. But assuming my > application creates more than one isolate. Is there a way to put a global > limit such that the memory used by all isolates combined will not bypass this > limit?

[v8-dev] Limit memory usage by all isolates

2023-05-09 Thread Meir Shpilraien
Hi I know I can limit the memory used by a single isolate. But assuming my application creates more than one isolate. Is there a way to put a global limit such that the memory used by all isolates combined will not bypass this limit? Thanks. Disclaimer The information contained in this