Railo 4.2 Reference
Choose a function:

Object Method Array.resize

Resets an array to a specified minimum number of elements. This can improve performance, if used to size an array to its expected maximum. For more than 500 elements, use ArrayResize immediately after using the ArrayNew tag.
Array.resize(number minimum_size):boolean

Arguments

The arguments for this function are set. You can not use other arguments except the following ones.
Name Type Required Description
minimum_size number  Yes minimum size of the array