Folks,I have peculiar kind of error. my script goes likecat inputfile> while read paramdoArray[$i]=$param y=`expr $y + 1`doneWhen i run script passing very large input file. script abends in the middle of execution saying "ksh: script out of range"Possible reason is max array element size is 4095 which is exceeded in my case. Now my question, is there any settings in shell which i can use to increase the max array element size.Guys please post ur suggestions.Thanks!Sharif.S

Questions by sharifhere   answers by sharifhere

Showing Answers 1 - 3 of 3 Answers

Anto

  • Feb 21st, 2007
 


If u use array it's a static one, in the sense fixed size.

If u want to increase the size, use vector which allocates size dynamically at runtime as much as u want.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions