How to reduce the memory usage of a C# console application project?
<p>This is program consumes 36.50 MB of memory but I want it to be less than 32 MB</p>

<pre><code>public static void CreateText(string text)
{
    if (Convert.ToInt32(text.Length) &lt;= 80)
    {
        int n;
        string str = "";
        string count = "";
        char[] mas = text.ToCharArray();

        for (int i = 0; i &lt; 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 &lt; Convert.ToInt32(count); j++)
                    {
                        str += mas[i].ToString();
                    }
                    count = "";
                }
            }

        }
        Console.WriteLine(str);
    } else {
        Console.WriteLine("Error");
    }
}
</code></pre>