On 12/10/2013 09:49 AM, Benoit Jacob wrote:
std::map and std::set are also free of any size restriction, and do not
require a contiguous part of our address space (see
https://bugzilla.mozilla.org/show_bug.cgi?id=944810#c12 ) , so they won't
run OOM before we are actually OOM.

I posit that if there is a map/set where the number of entries causes this to be a concern, we should not be using types where we can't report the memory usage.

_______________________________________________
dev-platform mailing list
dev-platform@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-platform

Reply via email to