Out of Memory Error

Post Reply
pdesai
Posts: 4
Joined: 26 Jul 2013, 07:30

Hi I have downloaded your software and have been trying to use it to check if it may suit our needs.

I have been hitting a roadblock with the following
1) Out of Memory Error - GC Overhead limit exceeded appears in the Protege command window.
a) Is this because I need to do some setting at the machine level for memory (I am windows 7 user) or
b) Do I need to give any parameters for tomcat before starting the server.
c) Does it also happen because I may have kept the protege software idle for too long without working on it.?

2) What is the default URL that I should use.
Is this the correct one? http://localhost:8080/essential_viewer
I ask this because the one given in the "Essential Architecture Reporting" http://localhost:8080/essential_viewer/reportService always gives a bad URL error.
Would appreciate any help.

Thanks
User avatar
jonathan.carter
Posts: 1087
Joined: 04 Feb 2009, 15:44

The memory settings for Protege and for Tomcat are separate.

On Windows, you can set Protege by going into the Protege File->Preferences and then into Property Files and then into the LAX properties tab. In there, find the lax.nl.java.option.heap.size.max property and increase this to around 1024MB (max 1500 on 32-bit Windows) or more, e.g. 1024000000. Click OK and restart Protege.

This Protege article has more details

The out of memory should not generally be related to leaving Protege running. It tends to be more directly related to the size of the repository and what you are doing with it.

If you've installed Tomcat using the service installer, you can set the maximum heap size in the Manage Tomcat applet that comes with Tomcat. Go to the Java tab and set the Maximum Memory Pool to something like 1536 (MB) [for 32-bit Windows. On 64-bit Windows, with the 64-bit Java, you can go above this].

On question 2, with the current version of the Reporting Tab in Protege, you should be using the second URL but note that Tomcat must be running and you must have deployed the Essential Viewer web application to Tomcat. [The next version of the reporting tab will unify the URL in the tab with the URL in the browser.]

The first URL you mention http://localhost:8080/essential_viewer, is what you should use in your web browser to access the Essential Viewer application. Again, this requires that Viewer is deployed to Tomcat and that Tomcat is running.

Jonathan
Essential Project Team
pdesai
Posts: 4
Joined: 26 Jul 2013, 07:30

Thank you Jonathan for your response. Very helpful. I was able to make the necessary changes and publish the repository which worked fine. I have also posted another question related to the business process modelling.
Post Reply