Skip to main content
  1. About
  2. For Teams

You are not logged in. Your edit will be placed in a queue until it is peer reviewed.

We welcome edits that make the post easier to understand and more valuable for readers. Because community members review edits, please try to make the post substantially better than how you found it, for example, by fixing grammar or adding additional resources and hyperlinks.

Required fields*

Required fields*

FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory in Ionic 3

When I run an Ionic 3 project using the ionic serve command, then I am getting this error:

Screenshot of FATAL ERROR: ineffective mark-compacts near heap limit Allocation failed - JavaScript

Answer*

Cancel
3
  • 2
    Why was this a problem? <></> should be valid in React instead of using <React.Fragment> right?
    Joelgullander
    –  Joelgullander
    2020-03-18 13:44:32 +00:00
    Commented Mar 18, 2020 at 13:44
  • @Codehiker Yep its a new syntax in React 16
    Ikhlak S.
    –  Ikhlak S.
    2020-03-19 20:13:16 +00:00
    Commented Mar 19, 2020 at 20:13
  • 13
    The recursion is that SumComponent contains a SumComponent (which contains a SumComponent which contains a SumComponent... )
    stone
    –  stone
    2020-06-09 07:11:26 +00:00
    Commented Jun 9, 2020 at 7:11

Morty Proxy This is a proxified and sanitized view of the page, visit original site.