Skip to content

Memory heap issue #14

@jithinktom

Description

@jithinktom

Hi,

I tried to plot a simple Anychart with create-react-app project. But, it is giving me "FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory" error.
image

The code of my component is :

import React from "react";
import AnyChart from 'anychart-react'

class NewChart extends React.Component {

    render() {
        return (
            <div className="chart-component">
                <div className="chart-section">
                    <AnyChart
                        type="pie"
                        data={[1, 2, 3, 4]}
                        title="Simple pie chart"
                    />
                </div>
            </div>
        );
    }
}

export default NewChart;

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions