mirror of https://gitee.com/bigwinds/arangodb
Global definition heap memory (TRI_V8_MAXHEAP) and adoptation for ARM
This commit is contained in:
parent
626d8ba315
commit
4a1eb6c8da
|
@ -46,6 +46,17 @@
|
|||
#define TRI_PADDING_32 1
|
||||
#endif
|
||||
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --Section-- v8 features
|
||||
// -----------------------------------------------------------------------------
|
||||
|
||||
#define TRI_V8_MAXHEAP 3 * 1024
|
||||
#if defined(__arm__) || defined(__aarch64__)
|
||||
#undef TRI_V8_MAXHEAP
|
||||
#define TRI_V8_MAXHEAP 1 * 1024
|
||||
#endif
|
||||
|
||||
// -----------------------------------------------------------------------------
|
||||
// --Section-- solaris
|
||||
// -----------------------------------------------------------------------------
|
||||
|
|
Loading…
Reference in New Issue