Maximum size of a CCX/CRS application

Unanswered Question
Mar 30th, 2009
User Badges:


For a customer I developped a CRS/CCX application with the script editor and the size of the script is around 150-160kb.

I estimate the number of simultaneous calls around 50 max maybe 100 ...

I ask this question because in the past I loaded some XML files of 10mb in memory and the system crashed ...

Now I'm working with many IF in this application and very small xml files to use as parameters (around 5kb max).

Do you think I can run into problems if my application is around 200kb?

Thanks in advance for the feedback

Kind regards


  • 1
  • 2
  • 3
  • 4
  • 5
Overall Rating: 0 (0 ratings)
Anthony Holloway Tue, 03/31/2009 - 09:01
User Badges:
  • Purple, 4500 points or more

I don't think Cisco could possibly put out hard numbers on this, because your 200KB script could kill the CPU, while my 200KB script could barely spike the CPU. It's all about what it's doing, not how big it is. Now, that's not to say there is not a limit, i.e., I would be very surprised if you could successfully upload a 3GB script.

Assuming raw numbers: a 200KB file, loaded into memory 100 times is only ~20MB. With 4GB of memory, that's nothing (0.5%). So it would seem that the size would not be a problem.

Additionally, you could look into breaking up your scripts/applications and making it more modular. Just running the pieces and parts as they are needed, instead of loading the whole thing at once.

My $0.02 =)

Jonathan Schulenberg Sat, 04/11/2009 - 11:49
User Badges:
  • Super Bronze, 10000 points or more
  • Cisco Designated VIP,

    2017 IP Telephony

I'm with Anothony: it's all about what you're doing with that 200KB. Sounds like a good time to do some load testing. :)

I suspect you'll run into the maximum step count far before you'll overrun the Tomcat heap size or CPU; especially with current MCS hardware. Also, sub flows count towards the "root" scripts step count so plan carefully.

cvanitterbeeck Sun, 04/12/2009 - 01:19
User Badges:

Thanks for your reply. Load tests are already planned :)

I think that in the script I have around 230 steps but with many IF making the application vary following some parameters.

The maximum steps parameter, is "per application" or for the whole system?

BCOLE2007 Mon, 04/13/2009 - 09:09
User Badges:
  • Bronze, 100 points or more


We have a script where the 'main' flow is 730 Steps, in CRS Script Web Page has a size of 670418. Also this calls multiple subflows.


Chris Deren Mon, 04/13/2009 - 15:33
User Badges:
  • Super Silver, 17500 points or more
  • Hall of Fame,
  • Cisco Designated VIP,

    2017 IP Telephony, Contact Center, Unified Communications

Why do you have a lot of IF statements?

Is Switch step not an option?


cvanitterbeeck Mon, 04/13/2009 - 23:35
User Badges:

I have many IF statements because the customer wanted many different behaviour.

The IF are mainly to take the parameters of the application which makes the script behave differently.

I have also switch options for each steps of menus...

Good to know that someone else have a script of 630kb...



This Discussion