We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date
Unfortunately, activation email could not send to your email. Please try again.
Syncfusion Feedback

Memory leak in Angular Pivotview Component

Thread ID:





149106 Nov 14,2019 12:47 PM UTC Nov 19,2019 05:44 AM UTC Angular - EJ 2 5
Tags: PivotView
Dipesh Nayak
Asked On November 14, 2019 12:47 PM UTC

Angular app Build getting failed with "Out of memory error" when Syncfusion pivot view component integrated.But the the app getting built successfully without the specified component.This is tested with Windows 10 machine with 8GB RAM.Please have a look.

Sivamathi Natarajan [Syncfusion]
Replied On November 15, 2019 10:13 AM UTC

Hi Dipesh, 
Thanks for Contacting Syncfusion Support. 
We suspect that you have bound huge size of raw items to pivot table component which may raise the “Out of memory error” in browser beyond some limits. If yes, kindly enable virtualization option which supports up to 1 million raw items as data source without any memory problem.   
Meanwhile, we have prepared a sample for your reference. 
If the above didn’t solve the problem, kindly share us the following information to proceed further. 
-          Count of raw items to be bound. 
-          Stack trace of the error with screen-shot (if possible). 
-          Provide a sample to reproduce it at our end if possible. 
Sivamathi Natarajan 

Dipesh Nayak
Replied On November 15, 2019 11:39 AM UTC

Hi, Actually this is not related to browser or data size because this is happening at the time of building angular app by ng build --prod command.I have attached the console stack trace screenshot .please have a look.

Attachment: pivotview_build_error_7b60a562.zip

Sivamathi Natarajan [Syncfusion]
Replied On November 18, 2019 10:14 AM UTC

Hi Dipesh, 
Thanks for the details. 
We have checked the reported problem. But we are unable to reproduce the issue. So, we have prepared a sample for your reference in angular platform. Please check your code changes with the provided sample. Kindly check the below sample link. 
Please check the below screenshot of building angular app by ng build –prod
If still the problem exists, kindly reproduce the problem in the provided sample and revert us (or) send your sample that replicating the problem. This would be a very helpful for us to investigate the reported problem at our end and provide the solution at earliest. 
Please let us know if you have concern. 
Sivamathi Natarajan. 

Dipesh Nayak
Replied On November 18, 2019 01:24 PM UTC

Hi Sivamathi,

I have solved my problem by allocating more memory to node server.Actually the problem was my project already have lot of node modules, thats why at the time of build process allocated memory fully used before it compile the syncfusion package.Anyway thanks for your explanation.

Dipesh Nayak

Sivamathi Natarajan [Syncfusion]
Replied On November 19, 2019 05:44 AM UTC

Hi Dipesh, 
Thank you for the reply. 
Sivamathi Natarajan 


This post will be permanently deleted. Are you sure you want to continue?

Sorry, An error occured while processing your request. Please try again later.

Please sign in to access our forum

This page will automatically be redirected to the sign-in page in 10 seconds.

Warning Icon You are using an outdated version of Internet Explorer that may not display all features of this and other websites. Upgrade to Internet Explorer 8 or newer for a better experience.Close Icon

Live Chat Icon For mobile
Live Chat Icon