| Index: src/globals.h
|
| diff --git a/src/globals.h b/src/globals.h
|
| index d23b2e3c3bfaaa7ca91c9ea1c19d4eac6f3b37a9..c4bbc0cdd30793a598fe380784a254af70c803c6 100644
|
| --- a/src/globals.h
|
| +++ b/src/globals.h
|
| @@ -182,6 +182,10 @@ const size_t kCodeRangeAreaAlignment = 4 * KB; // OS page.
|
| #endif
|
| #endif
|
|
|
| +// The external allocation limit should be below 256 MB on all architectures
|
| +// to avoid that resource-constrained embedders run low on memory.
|
| +const int kExternalAllocationLimit = 192 * 1024 * 1024;
|
| +
|
| STATIC_ASSERT(kPointerSize == (1 << kPointerSizeLog2));
|
|
|
| const int kBitsPerByte = 8;
|
|
|