Removing resources
Dynamically removing processing capacity from a partition in which Java is running should not affect the running application, other than possibly degrading performance if too much processing capacity is removed.
Note: Care should be taken to not remove too much processing capacity from a partition in which a JVM is running.
Dynamically removing memory is not advisable because the memory that is moved may contain part of the heap. If a portion of memory is removed from a partition and that portion of memory contains a section of the heap, then that section of the heap will have to be paged to disk, which will severely impact performance. .