Hi all,
I am new in this forum, this my first posting and I am not native English. Please do let me know if something in my posting is against the communciation rules in this forum.

I am stuck in a problem with a larger project. Its about a Midi Controller and so far everything I have programmed works very well. Now I simply needed to add another String variable array (which I use as containers for LCD content and that works perfect so far) but when I only add that variable declaration my Mega 2560 will stop execution. Compilation is ok and Arduino V0022 reports 'Done Uploading' but then it will hang.
Here is the code section with the variable declaration that includes the one variable that makes the difference. Its only declarations:
.....
//String Arrays for the display of certain variables:
String VarLCDString; //a string variable that contains the string to be displayed on the LCD for a certain value
String SGrpRepMode[4] = {"Nothing","OFF ","Retrig.","Last "};
String SBtnAction[5] = {"Auto ","Latch ","Moment","",""};
String SBtnGrp[9] = {"--- ","1","2","3","4","5","6","7","8"};
String SCmdType[9] = {"--- none ---","Prog. Change","Contr.Change","Note ON/OFF ","Song Select ","Song Control ","Btn. Trigger","Ped. Trigger","Set PedInput"};
String SYesNo[2] = {"No ","Yes"};
String SBtnTrigger[131]; //0-127 is for values, 128-130 are filled in Setup
String SSongControl[3] = {"Stop ","Start","Cont "};
String SActInput[5] = {"off","1","2","3","4"};
String SSetPedInput[6] = {"off","1","2","3","4"," "};
String SParVal[130]; //For Midi commands in which 0-127 is the Midi value and 128 is a String displaying 'empty/nothing'. .......
The last line is the one. Everything with an array size > 20 will make it hang.
But making the array smaller like
String SParVal[10]; //For Midi commands in which 0-127 is the Midi value and 128 is a String displaying 'empty/nothing'. does work well.
Sketch Size is reported to be 24556 bytes of a 258048 maximum (<10%).
Questions:
Is there a limitation in memory or maximum number of String Variables or whatsoever I could be exceeding?
If so: Where and how could I find out?
Any other ideas?
Thanks on beforehand!!
MidiMan