Thanks for the attempt but like i said in the first post, i already tried using that and it says:
WARNING: Rebooting with [java, -Xmx2048m, -classpath... etc
so when i try to change it through terminal or something my command gets overridden by some other file and only ends up using -Xmx, which is as you stated the maximum value, not the minimum
and i want to know if i can change that file that overrides my command and add a -Xms1024 to it