Expand my Community achievements bar.

I wonder what is minimum memory requirements for microsoft machine translation(by default).

Avatar

Level 4

Hello everybody!

I sometimes have the following errors whenever I create language copy using microsoft machine translation (by default) in stage environment.

I think that this error message(java.lang.StackOverflowError) happens because of out of memory.

Even if I succeeds to create the language copy without any error message, it takes so much times to create the lanugage copy using microsoft machine translation (by default).

I wonder what is minimum memory requirements for microsoft machine translation(by default).

------------------------------------------------------------------------------------------------

com.adobe.granite.workflow.WorkflowException: Process execution resulted in an error

    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:199)

    at com.adobe.granite.workflow.core.job.JobHandler.process(JobHandler.java:258)

    at org.apache.sling.event.impl.jobs.JobConsumerManager$JobConsumerWrapper.process(JobConsumerManager.java:500)

    at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.startJob(JobQueueImpl.java:291)

    at org.apache.sling.event.impl.jobs.queues.JobQueueImpl.access$100(JobQueueImpl.java:58)

    at org.apache.sling.event.impl.jobs.queues.JobQueueImpl$1.run(JobQueueImpl.java:227)

    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)

    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)

    at java.lang.Thread.run(Thread.java:745)

Caused by: com.adobe.granite.workflow.WorkflowException: Failed to execute process

    at com.day.cq.workflow.compatibility.CQWorkflowProcessRunner.execute(CQWorkflowProcessRunner.java:108)

    at com.adobe.granite.workflow.core.job.HandlerBase.executeProcess(HandlerBase.java:189)

    ... 8 more

Caused by: java.lang.StackOverflowError

    at java.util.zip.ZipCoder.getBytes(ZipCoder.java:86)

    at java.util.zip.ZipFile.getEntry(ZipFile.java:310)

    at java.util.jar.JarFile.getEntry(JarFile.java:240)

    at java.util.jar.JarFile.getJarEntry(JarFile.java:223)

    at sun.misc.URLClassPath$JarLoader.getResource(URLClassPath.java:1042)

    at sun.misc.URLClassPath$JarLoader.findResource(URLClassPath.java:1020)

    at sun.misc.URLClassPath$1.next(URLClassPath.java:267)

    at sun.misc.URLClassPath$1.hasMoreElements(URLClassPath.java:277)

    at java.net.URLClassLoader$3$1.run(URLClassLoader.java:601)

    at java.net.URLClassLoader$3$1.run(URLClassLoader.java:599)

    at java.security.AccessController.doPrivileged(Native Method)

    at java.net.URLClassLoader$3.next(URLClassLoader.java:598)

    at java.net.URLClassLoader$3.hasMoreElements(URLClassLoader.java:623)

    at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)

    at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)

    at sun.misc.CompoundEnumeration.next(CompoundEnumeration.java:45)

    at sun.misc.CompoundEnumeration.hasMoreElements(CompoundEnumeration.java:54)

    at java.util.ServiceLoader$LazyIterator.hasNextService(ServiceLoader.java:354)

    at java.util.ServiceLoader$LazyIterator.hasNext(ServiceLoader.java:393)

    at java.util.ServiceLoader$1.hasNext(ServiceLoader.java:474)

    at javax.xml.transform.FactoryFinder$1.run(FactoryFinder.java:327)

    at java.security.AccessController.doPrivileged(Native Method)

    at javax.xml.transform.FactoryFinder.findServiceProvider(FactoryFinder.java:323)

    at javax.xml.transform.FactoryFinder.find(FactoryFinder.java:299)

    at javax.xml.transform.TransformerFactory.newInstance(TransformerFactory.java:106)

    at com.adobe.granite.translation.connector.msft.core.impl.MicrosoftTranslationServiceImpl.getTranslateArrayPostData(MicrosoftTranslationServiceImpl.java:760)

    at com.adobe.granite.translation.connector.msft.core.impl.MicrosoftTranslationServiceImpl.getTranslatedTextForArray(MicrosoftTranslationServiceImpl.java:695)

    at com.adobe.granite.translation.connector.msft.core.impl.MicrosoftTranslationServiceImpl.translateArray(MicrosoftTranslationServiceImpl.java:655)

    at com.adobe.granite.translation.connector.msft.core.impl.MicrosoftTranslationServiceImpl.translateString(MicrosoftTranslationServiceImpl.java:484)

0 Replies