We are facing out of memory : Java heap space error while converting docx to html when the document size goes above 300KB and the server hangs. We don't have control on the server parameters.
Code is given below. Would be helpful if there are any solutions.
// Convert .docx file to html file and return .html file as File Object
public File convertDocxToHtml(File inputFile)
{
//String str=inputFile.getName().replace(".", " ");
String inputfilepath = inputFile.getAbsolutePath();
int ...