[BUG] Error when creating a ionic project with Deepin 15.5
Tofloor
poster avatar
joserdaw
deepin
2018-01-21 02:55
Author
Edited by joserdaw at 2018-1-21 18:13

It's a small app, i dont now why i get a memory error.
It looks that is a Deepin problem because i dont have this issue in the same machine with Debian9

Current behavior:
Unexpected error at make a new project

Expected behavior:
Project created successfully

Steps to reproduce:
Typing at console "ionic start test tabs". If i exec the command with administrator privileges i get the same error.

Error code:
  1. > npm i
  2. ⠧ Running command
  3. <--- Last few GCs --->

  4. [2216:0x3ed88d0]   508446 ms: Mark-sweep 1348.7 (1406.3) -> 1348.7 (1406.3) MB, 835.0 / 0.0 ms  allocation failure GC in old space requested
  5. [2216:0x3ed88d0]   509615 ms: Mark-sweep 1348.7 (1406.3) -> 1348.7 (1374.8) MB, 1169.7 / 0.0 ms  last resort GC in old space requested
  6. [2216:0x3ed88d0]   510515 ms: Mark-sweep 1348.7 (1374.8) -> 1348.7 (1374.8) MB, 900.0 / 0.0 ms  last resort GC in old space requested


  7. <--- JS stacktrace --->

  8. ==== JS stack trace =========================================

  9. Security context: 0x3c7aa75a5739
  10.     1: /* anonymous */ [/usr/lib/node_modules/ionic/node_modules/@ionic/cli-utils/lib/utils/shell.js:~44] [pc=0x15870c82c57c](this=0x3c710cf469d1 ,chunk=0x25c76b854c59 )
  11.     2: emit [events.js:~108] [pc=0x15870c827bf8](this=0x3c710cf469d1 ,/* anonymous */=0x3c7aa75b5011 )
  12.     3: arguments ...

  13. FATAL ERROR: CALL_AND_RETRY_LAST Allocation failed * heap out of memory
  14. 1: node::Abort() [ionic]
  15. 2: 0x11ef43c [ionic]
  16. 3: v8::Utils::ReportOOMFailure(char const*, bool) [ionic]
  17. 4: v8::internal::V8::FatalProcessOutOfMemory(char const*, bool) [ionic]
  18. 5: v8::internal::Factory::NewUninitializedFixedArray(int) [ionic]
  19. 6: 0xdf0023 [ionic]
  20. 7: v8::internal::Runtime_GrowArrayElements(int, v8::internal::Object**, v8::internal::Isolate*) [ionic]
  21. 8: 0x15870c6842fd
Copy the Code

Reply Favorite View the author
All Replies
joserdaw
deepin
2018-01-22 02:15
#1
Uppppppppp
Reply View the author
joserdaw
deepin
2018-01-26 08:27
#2
uuuuupppppppppp
Reply View the author