PGX 1.2.0
Documentation

Troubleshooting

Your problem is not listed? Let us know


I get an error "java.lang.InternalError: Can't connect to X11 window server using 'foobar' as the value of the DISP" when trying to run PGX Shell

Solution: Try to start the JVM in headless mode:

export JAVA_OPTS="$JAVA_OPTS -Djava.awt.headless=true"
cd $PGX_HOME
./bin/pgx

The shell is throwing an "OutOfMemoryError"

Solution: If your machine allows it, try increasing the JVM heap-size. For example, to set the maximum heap-size to 128 GB, do

export JAVA_OPTS="$JAVA_OPTS -Xmx128g"
cd $PGX_HOME
./bin/pgx

Also see this article about PGX memory consumption.


The PGX process died without exception

This can happen if you haven't specified an upper off-heap memory allocation limit and the OS allowed more memory to be allocated than available. See this article for a detailed explanation.

Solution: To make sure PGX is never getting killed by the OS, set the max_off_heap_size field in PGX configuration accordingly.

If you're sure that off-heap memory was not exhausted and PGX still died without error, please let us know.


PGX throws "Could not start the compiler" error

The Green-Marl compiler is currently only available for Linux (32-bit or 64-bit) and Mac OS X (64-bit) systems.

Solution 1: Make sure you have the minimum required version of the libstdc++ library installed (GLIBCXX_3.4.13). If you have an older version, try to update your GCC installation. See the installation section for details.

Solution 2: Disable the Green-Marl compiler by setting the enable_gm_compiler flag to false in the PGX config. This way you can still use PGX and only get an exception if you try to compile your own algorithms.


Starting Weblogic fails with an AssertionError

Starting Weblogic on certain distributions fails with a java.lang.AssertionError: Could not obtain the localhost address.

Solution: Make sure the hostname of the machine (try typing hostname in the linux command line) does not have an entry in the /etc/hosts file. Make sure to add an entry to that file or to change the hostname to 'localhost' (by calling hostname localhost as root). Setting the hostname to 'localhost' is not recommended in a production environment.