Hi,
We are facing java.lang.OutOfMemoryError: Java heap space error while creating docx from Html code.
Exception got:
java.lang.OutOfMemoryError: Java heap space
at java.util.Arrays.copyOf(Unknown Source)
at java.lang.String.<init>(Unknown Source)
at java.io.Win32FileSystem.resolve(Unknown Source)
at java.io.File.<init>(Unknown Source)
at org.apache.naming.resources.FileDirContext.list(FileDirContext.java:862)
at org.apache.naming.resources.FileDirContext.listBindings(FileDirContext.java:333)
at org.apache.naming.resources.ProxyDirContext.listBindings(ProxyDirContext.java:521)
at org.apache.catalina.loader.WebappClassLoader.modified(WebappClassLoader.java:1009)
at org.apache.catalina.loader.WebappLoader.modified(WebappLoader.java:500)
at org.apache.catalina.loader.WebappLoader.backgroundProcess(WebappLoader.java:421)
at org.apache.catalina.core.ContainerBase.backgroundProcess(ContainerBase.java:1361)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1653)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.processChildren(ContainerBase.java:1662)
at org.apache.catalina.core.ContainerBase$ContainerBackgroundProcessor.run(ContainerBase.java:1642)
at java.lang.Thread.run(Unknown Source)
Please help us.
From
Nitin Chopkar