how reduce memory project console application c# : This is program memory 36.50 MB  but I want be less than 32 MB
...............................................................................................................................................................


        public static void CreateText(string text)
        {
            if (Convert.ToInt32(text.Length) <= 80)
            {
                int n;
                string str = "";
                string count = "";
                char[] mas = text.ToCharArray();
 
                for (int i = 0; i < Convert.ToInt32(mas.Length); i++)
                {
                    if (int.TryParse(mas[i].ToString(), out n))
                    {
                        count += mas[i].ToString();
                    }
                    else
                    {
                        if (String.IsNullOrEmpty(count))
                        {
                            str += mas[i].ToString();
                        }
                        else
                        {
                            for (int j = 0; j < Convert.ToInt32(count); j++)
                            {
                                str += mas[i].ToString();
                            }
                            count = "";
                        }
                    }
 
                }
                Console.WriteLine(str);
            }
            else
            {
                Console.WriteLine("Error");
            }
        }
 
 
         
 
    }
 
}