IBM Support

How to Increase Budget Size to Fix the 'Bundle Initial Exceeded Maximum Budget' Error

How To


Summary

During the Next-Gen Call Center customisation, the build process fails while generating the UI extensions JAR due to the following error-

Error: bundle initial exceeded maximum budget. Budget 6.00 kB was not met by 48.46 kB with a total of 54.46 kB.

Steps

To resolve  “bundle initial exceeded maximum budget” error, need to adjust the budget limits in the angular.json file. 

Update the budgets section to set maximumWarning and maximumError values higher than the expected bundle size for the specific module.

Example:

If getting the error as create-return: Error: bundle initial exceeded maximum budget.

In callcenter-code/call-center-return/angular.json, 

  • Navigate to create-return -> architect -> build -> configurations and increase the budgets as below.
"budgets": [
 {
   "type": "initial",
   "maximumWarning": "10mb",
   "maximumError": "25mb"
 },
 {
   "type": "anyComponentStyle",
   "maximumWarning": "100kb",
   "maximumError": "500kb"
 }
]
  • Navigate to create-return -> architect -> build -> configurations -> merged-prod and update the same budgets.
"budgets": [
 {
   "type": "initial",
   "maximumWarning": "10mb",
   "maximumError": "25mb"
 },
 {
   "type": "anyComponentStyle",
   "maximumWarning": "100kb",
   "maximumError": "500kb"
 }
]
  • Re-start the UI Extension Jar build process. 

The build should be completed successfully without exceeding the defined budget limits.

Document Location

Worldwide

[{"Type":"MASTER","Line of Business":{"code":"LOB77","label":"Automation Platform"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SSGTJF","label":"IBM Sterling Order Management System"},"ARM Category":[{"code":"a8m0z000000cy2QAAQ","label":"Call Center Store and SIM"}],"ARM Case Number":"TS020639983","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":""}]

Document Information

Modified date:
25 December 2025

UID

ibm17250011