Please don't necropost, and no saying "sorry for" does not excuse you.
Please don't set the Xmx in your ide or on your system every (modern) Forge MDK ships with a gradle.properties that sets this for you.
If you are using an MDK that is old enough to not have this then know that you will not receive support on this forum.