We need the MEGA JVM to provide more heap space to our Plugin, setting the corresponding option (Options/Desktop/Debugging/Java-Debugging/Maximum heap size in M.) works up to about 900MB but we need more than that.
Setting it to 2000MB and restarting MEGA throws the Error dialog "Can't Create Java VM : ErrCode = -4". The system has 8GB of RAM and around 3GB of it are free, so there should be enough memory for the added heap space.
How can we make MEGA work with more java heap space?
Our MEGA Version is 2009 SP5 CP11 R7 with a fix from the support team regarding memory issues of Book generation.