There is no way to limit the size of those files.
However, each time the agent is recycled, the LG1 file is erased, the LG0 file is renamed to LG1 and a new LG0 file is created. Thus recycling the agent twice would eliminate the issue.
Better yet would be resolving the issue... usually opening a case to IBM Support would be the first step. In the meantime, here is a document with the tests I use to identify some communications issues
APM: ITM Communications Validation
http://itm-sitworld.blog/2020/01/02/sitworld-itm-communications-validation/
John Alvord
#Support#SupportMigration#Tivoli