Soffice Getting Freezed

Hi, I am using Libreoffice for converting my document to pdf , from JAVA i am triggering the conversion of excel to pdf using soffice .

during the process . soffice is getting freezed/suck by 100% utilization of CPU… only solution we found is to terminate the process and restart the conversion .

can you suggest a solution to fix the issue…