In the main directory where you have Protege there should be a file called That file is what Protege looks at when it starts up to determine how much memory Java can allocate. Needing more memory for Desktop Protege is a common issue and there is a simple solution. Start Protege by Protege.exe/Protege or by double-cliking on the Protege icon (Windows/Linux)
Note that for 64 bit windows machines there is a but in InstallAnywhere that prevents the user from setting the heap size over something like 1.5G. There are several ways of setting the heap size depending on how you run Protege.
INFO 11:34:25 Framework: Apache Software Foundation (1.8) The console or the log during startup will look something like this: Protege will print out the memory settings as they start. The best way to know if you have succeeded in changing the memory settings is to look at the console when Protege starts up. If your system does not have 100MB of free memory then even the Protege default value is too big and you should make it smaller (or buy more memory). The most common source of very slow performance on older systems (or laptops) is having the heap size set too large. It will also improve the performance of the database back-end since more memory is available for caching. On Linux machines, you can use the wonderful proc filesystem and look at the meminfo "file".īoosting the heap size parameter will allow you to read in larger file-based projects. On Mac machines, click the apple (upper left hand corner and "about this mac"). On Windows XP machines you can determine your free physical memory from the Performance tab of the Task Manager application. A rule of thumb is that you should not set this parameter larger than about 80% of your free physical memory. If you set it too high then your system will hang or you will suffer poor performance because parts of the jvm will be swapped in and out of memory. If you set it too low then you will get "out of memory" errors. You must be careful about setting the heap size parameter. Recommendations for setting the heap size (read first!)