Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

By default, forked JVM is configured to run with a maximum of 1024 Mb. If the analysis needs more memory, the execution will finish with this error.

 

Most common out-of-memory error messages are:

 
Exception in thread "main" com.als.core.OptimythException: GC overhead limit exceeded
Caused by: java.lang.OutOfMemoryError: GC overhead limit exceeded

 

Exception in thread "main" com.als.core.OptimythException: Java heap space
Caused by: java.lang.OutOfMemoryError: Java heap space

 

All of them are can be solved increasing the moery allocated to Kiuwan analysis.

 

 

GUI mode

If you are using Kiuwan Local Analyzer in GUI mode, a dialog will open indicating this error:

...

Panel
bgColor#fff

Solution consists on provide more memory to Kiuwan.

You can do it in two ways.

First, you can change the memory parameters clicking on Advanced button, selecting Analysis Configuration tab and modifying the “Max memory size” property (set by default to 1024 Mb).

 

After modifying the value, clicking on Save button will open the next dialog:

If you click “Save”, this configuration will apply only to the current applications.

If you click “Save as defaults”, configuration changes will apply to all the applications of your Kiuwan Local Analyzer installation.

 

 

Info

An alternative way to change this memeory value is modifying

con

conf/analyzer.properties file. To do it, edit

“memory

memory-

max”

maxproperty:

 

# Maximum size for heap memory (1024m = 1 Gigabyte)
memory.max=1024m
 

If you have a specific configuration for an application and you want the change only to be applied to that specific application, you will need to modify this property in

con

conf/apps/<name_of_your_app>.

properties

properties file.

info

In case you increase this parameter too high, it’s possible that Operating System cannot allocate such free memory. Then, you will get a Not enough Memory error. In this case, please read next section.

...