Hi there and welcome to the community!
I think there a little confusion here and the wording from VMware is probably not helping. The Edit Resources scheduled task is to allow a change of things like Share, Reservations and Limits for Memory and CPU not Allocation, i.e. you cannot increase memory allocations by using this.
If you read here https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.vcenterhost.doc/GUID-F9DC9B18-625E-4ACB-AA3A-17BEB109A206.html then you can see the publication mentions what you are seeing at the interface (insert pasted below):
To increase the actually memory of the VM is one you could script but will require an outage. Well... you can enable Hot-Add so the memory could expand but this is Hot-Add not Hot-Remove and comes with some caveats. Also please DO NOT decide to increase the memory allocation to something high for the VM and then control through memory limits. This will not give you the result you expect unless you expect to page the memory over the limit out to host swap file.
Hope this helps.