Knowtator |
I updated Knowtator to the latest version and now I am having troubles opening my annotation project. If you are having difficulty loading your annotation project after you have upgraded Knowtator to the latest version, here are some possible reasons and their workarounds:
(included_projects "knowtator.pprj")
. If instead the statement includes an absolute path name,
then this will create problems for upgrading Knowtator.
(included_projects "/my/absolute/directory/path/knowtator.pprj")
with (included_projects "knowtator.pprj")
.
Knowtator/Protégé runs out of memory. Protégé has a default maximum heap size set to 100MB. If the virtual machine exceeds this amount, then a message such as "java.lang.OutOfMemoryError" is displayed in the system output window. When Protégé is launched there are two windows that are created - one of which is a system output window. To increase the maximum heap size you must do one of the following:
C:\Program Files\Protege\Protege.lax
.
# LAX.NL.JAVA.OPTION.JAVA.HEAP.SIZE.MAX # ------------------------------------- # maximum heap size lax.nl.java.option.java.heap.size.max=800000000
JVM Options
called MAXIMUM_MEMORY
. The parameter looks like -Xmx100m
by default.
Change the parameter to some larger value such as -Xmx512m
or -Xmx1024m
depending on how much RAM you have.
Something goes wrong on my Mac installation of Knowtator/Protégé. When Protégé is launched on a Mac, there is
no console window for system output to display (Windows users will see two windows appear when Protégé is started - one is the application
window and the other is a console for system output.) If things are going poorly on your Mac installation of Knowtator/Protégé and you
haven't a clue what it might be, then try launching Protégé from the command line. This can be done by opening a shell and changing your directory
to e.g. /Applications/Protege-3.3.1
and running the file run_protege.sh
. You may have to type ./run_protege.sh
.
Knowtator is getting cluttered with a bunch of annotations that I no longer want. If you have merged several annotation projects together, done several rounds of annotation, and/or created a consensus set. It may be that you have large numbers of annotations that you no longer want in your Knowtator project. A menu item labeled 'Annotation removal' provides a way to remove large numbers of unwanted annotations. This option allows you to choose an annotation filter that defines the set of annotations to keep. All other annotations are deleted. It is a good idea to archive your project using the Protégé 'Project -> Archive Current Project' option prior to to using this option. Also, if you are unhappy with the results, simply close the project without saving the changes that have been made.