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.
SNSivamathi Natarajan Syncfusion Team November 15, 2019 05:13 AM
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.
DNDipesh NayakNovember 15, 2019 06:39 AM
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
SNSivamathi Natarajan Syncfusion Team November 18, 2019 05:14 AM
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.
DNDipesh NayakNovember 18, 2019 08:24 AM
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.
SNSivamathi Natarajan Syncfusion Team November 19, 2019 12:44 AM