Hitachi

JP1 Version 12 JP1/Navigation Platform Development Guide


4.6.2 Actions to be taken if an attempt to build plugins fails

The following describes how to take action if an attempt to build plugins fails.

The probable cause of a failure in building plugins is an error of java.lang.OutOfMemoryError. This error is likely to occur if there are multiple plugins.

If an error (java.lang.OutOfMemoryError) occurs, perform the following, and then build the plugins again:

  1. Right-click root in the Ant view. In the menu that opens, select Run As, and then External Tools Configurations

    The External Tools Configurations dialog box opens.

  2. Click the JRE tab, and then enter -XX:MaxMetaspaceSize=256m in the VM arguments field.

    [Figure]

  3. Click the Apply button, and then click the Close button.

    The External Tools Configurations dialog box is closed.