It seems as if my entire heap is being duplicated (due to 
ALLOW_MEMORY_GROWTH) and then the old one is garbage collected?  Is that 
how it works?  Seems like I cannot set an initial size more than 1GB and 
the "growth" increment is less than 1GB.  What I'd really like is to set 
2GB (the max?) initially, but it seems as if this doesn't work?

On Monday, March 18, 2019 at 4:39:18 PM UTC-5, John Muehlhausen wrote:
>
> I have a memory-intensive process that runs fine on Firefox (everywhere) 
> and Chrome (Max+Linux) and Safari.  However, Chrome on Windows "aw, snap"'s 
> me most-- but not all-- of the time.  I was finally able to resolve this 
> with `--max_old_space_size=4096` Chrome command line parameter, but I don't 
> want to place this requirement on my users.
>
> My guess is that gc is not keeping up with me on Windows in particular 
> (fewer points where gc wants to run? ) or else that the defaults differ per 
> platform.  Any ideas about how to nudge garbage collection to happen more 
> often?  Any other thoughts?
>
> Thanks!
>

-- 
You received this message because you are subscribed to the Google Groups 
"emscripten-discuss" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to