Wednesday 20 June 2018

.appmergegen" Directories Being Created And Taking Up Disk Space

In the "tmp" directory, many ".appmergegen" directories are getting generated and it takes up lot of disk space.  This appears to happen when applications are monitored via the Administration Console. Can these directories be deleted?

When deploying applications or monitoring complex applications via the Administration Console, those directories are created. Those can (and should) be removed every time there is a re-deployment or a new deployment
Example:
rm -rf .appmergegen*

These files/directories are created during application deployment and can safely be removed.
Also, an alternative, use the parameter: "-Djava.io.tmpdir= <path>" to generate the files at a different location and then delete them safely.