Hi,
We are about to make a purchase of Syncfusion license and already have the invoicing details, but we are facing an issue which is stopping us from doing so.
We have integrated syncfusion/ej2-angular-gantt library in our angular project which is based on Asp.Net Zero.
We are able to render a Gantt chart with sample data. However, while trying to run the production build using ng build --prod command, we are getting JavaScript heap out of memory exception.
More details related to our project are as below:
Angular version: 8.1.1
ej2-angular-gantt version: 17.3.27
build configuration:
"production": {
"optimization": true,
"outputHashing": "all",
"sourceMap": false,
"extractCss": true,
"namedChunks": false,
"aot": true,
"extractLicenses": true,
"vendorChunk": false,
"buildOptimizer": true
}
"builder": "@angular-devkit/build-angular:browser"
Error stack trace:
FATAL ERROR: Ineffective mark-compacts near heap limit Allocation failed - JavaScript heap out of memory
1: 00007FF7329AC6AA v8::internal::GCIdleTimeHandler::GCIdleTimeHandler+4506
2: 00007FF732987416 node::MakeCallback+4534
3: 00007FF732987D90 node_module_register+2032
4: 00007FF732CA189E v8::internal::FatalProcessOutOfMemory+846
5: 00007FF732CA17CF v8::internal::FatalProcessOutOfMemory+639
6: 00007FF732E87F94 v8::internal::Heap::MaxHeapGrowingFactor+9620
7: 00007FF732E7EF76 v8::internal::ScavengeJob::operator=+24550
8: 00007FF732E7D5CC v8::internal::ScavengeJob::operator=+17980
9: 00007FF732E86317 v8::internal::Heap::MaxHeapGrowingFactor+2327
10: 00007FF732E86396 v8::internal::Heap::MaxHeapGrowingFactor+2454
11: 00007FF732FB0468 v8::internal::Factory::AllocateRawArray+56
12: 00007FF732FB657A v8::internal::Factory::NewTransitionArray+58
13: 00007FF732EB23F4 std::vector<v8::internal::compiler::MoveOperands * __ptr64,v8::internal::ZoneAllocator<v8::internal::compiler::MoveOperands * __ptr64> >::_Umove+71364
14: 00007FF732D10EFE v8::internal::JSReceiver::GetOwnPropertyDescriptor+17550
15: 00007FF732D11069 v8::internal::JSReceiver::GetOwnPropertyDescriptor+17913
16: 00007FF732D12E9B v8::internal::JSReceiver::GetOwnPropertyDescriptor+25643
17: 00007FF732D02094 v8::internal::JSReceiver::class_name+4132
18: 00007FF732D125D9 v8::internal::JSReceiver::GetOwnPropertyDescriptor+23401
19: 00007FF73307556E v8::internal::LookupIterator::PrepareTransitionToDataProperty+478
20: 00007FF732D06111 v8::internal::JSReceiver::class_name+20641
21: 00007FF732FA16E9 v8::internal::wasm::WasmCodeManager::LookupCode+15273
22: 00007FF732FA47A4 v8::internal::wasm::WasmCodeManager::LookupCode+27748
23: 000000AF9E95C5C1
It would be great if you can please help us with a solution to resolve the production build issue.
Thanks,
Sanjay