The APM setup user hasn't enough permissions to modify the agent config files.
Is it possible to modify the vm.config file owned by user foglight?
The APM is a pre-defined appliance.
FglAM was adjusted to have the necessary memory within the APM appliance and the settings cannot be edited.