Barthelemy Dagenais
Barthelemy Dagenais
Hi, Can you describe how the python code is executed (e.g., in a virtual environment)? launch_gateway tries to be smart at finding the right jar file and java executable, but...
Hi, I am not surprised by this benchmark. - Depending on the workload, Java is easily an order of magnitude faster than Python (see https://benchmarksgame-team.pages.debian.net/benchmarksgame/fastest/python.html) - When you are using...
Hi, Apologies for the late response, I've been fighting a bad virus this week. Transferring large payload is not Py4J's strongest point. This is why I am (slowly) working on...
I was able to send a 812MB string from Python to Java, but on MacOSX. I had to increase the JVM heap size to 10 GB (-Xmx10096m). I'll have to...
If you try to increase the heap size to a very large value (say 12 GB) does that still fail?
Hi, apologies for the delay. Can you provide more information about how this error? Usually, errors such as these occur on shutdown (e.g., trying to communicate with the Python side...
Hi! This is a good start. I think I would put ``` ClassLoadingStrategy classLoadingStrategy = gateway.getClassLoadingStrategy(); if (classLoadingStrategy == null) classLoadingStrategy = ReflectionUtil.getClassLoadingStrategy(); // Just in case if (classLoadingStrategy ==...
Can you post a code example (Java and Python) showing where exactly you are stuck and what part of Py4J you need clarification with? Thanks
You can take a look at these examples: https://stackoverflow.com/a/42867597 and https://www.py4j.org/advanced_topics.html#using-py4j-without-pre-determined-ports-dynamic-port-number If it still does not work, please post your code and we will be able to better help you.
I still need to find a better CI environment, but last time I committed code the tests ran fine on Travis-CI and locally on mac and linux. You should be...