Open DivakarDass opened 10 years ago
Hi Divakar,
Increase the heap size explicitly by passing the size as a parameter to the startJvm() method when Jpype initializes a JVM. Check the below links. I am also facing a similar problem.
https://docs.oracle.com/cd/E26576_01/doc.312/e24936/tuning-java.htm#GSPTG00205
Hope this helps. Thanks, Vishal.
If I pass more text content(approximately 20 lines) to this service, I keep getting this error "jpype._jexception.VirtualMachineErrorPyRaisable: java.lang.OutOfMemoryError: Java heap space" (In startJvm method). Though it works fine with lesser text content.