Arduino Reboots it self when it receives a text message it has to process

It does mean the max length of the incoming SMS.

However, i have gotten it to run now, by moving some constant strings to Flash memory instead of SRAM.
So i guess it was a memory problem after all..
Would it be preferable not using a library, and running the SIM900 AT commands "Manually" ?

BUT! when i give the arduino the command "Status" it is supposed to run this code:

if(!strcmp(sms_text, "Status")) {
       tempSens.requestTemperatures();
       float temperature = tempSens.getTempCByIndex(0);
       int intTemperature = (int) temperature + 0.5;
       String stringOne = "Temperatur lige nu: ";
       stringOne += intTemperature;
       if (OnOff == true) {
         stringOne += "\nVarmepumpe er On"; 
       }
       else {
         stringOne += "\nVarmepumpe er Off"; 
       }
       if (tempStyring22 == true) {
        stringOne += "\n22 Graders funktion aktiv";
       }
       
       else if (tempStyring15 == true) {
        stringOne += "\n15 Graders funktion aktiv"; 
       }
       
       else{
        stringOne += "\nIngen funktioner aktiv";
       }
       char textSMS[stringOne.length()+1];
       stringOne.toCharArray(textSMS, stringOne.length()+1);
       Serial.println(textSMS);
       sms.SendSMS(phone_number, textSMS);  
      }

and it turns out just sending a blank SMS. How come?