Search Mailing List Archives


Limit search to: Subject & Body Subject Author
Sort by: Reverse Sort
Limit to: All This Week Last Week This Month Last Month
Select Date Range     through    

[protege-discussion] Protege 3.4.4 (579) 64-bit max heap size

Len Yabloko protege at ontospace.net
Fri Sep 3 13:03:08 PDT 2010


I can run two Protege one launched by installed launcher and another from Eclipse 3.6(Helios) 64-bit. In  Eclipse I get upto 2.5G even after first Protege max out at 1G. The heaps of both jvm don't affect each other- it seems 
>
>> Do I need a specialy compiled protege.jar?
>>    
>
>I  don't believe that this could be the case.  It seems to me that your 
>issue could only involve Java and how it is  invoked.  It looks like you 
>are taking the right steps to verify your memory  settings.
>
>> Windows 7 task manager show java.exe quickly climing to about 2G and stays there. What could explain this? Do I need a specialy compiled protege.jar?
>
>One possible explanation is that nothing is wrong.  Java has a strategy 
>where it increases the heap in stages as it thinks it is needed.  I have 
>used tools like jvisualvm and watched what Java does.  Sometimes, it 
>seems to me when I watch this behavior that Java could perform better if 
>it increased its heap.  Instead it would stubbornly stop increasing its 
>heap and perform periodic garbage collections.   Very likely Java is 
>right in this case.
>
>What happens if - when the memory is at 2G  - you run some program that 
>is guaranteed to eat up and hold the available memory?
>
>-Timothy
>
>
>On 09/03/2010 12:11 PM, Len Yabloko wrote:
>> Yes, I tried all variations and seems to corrently allocate memory.
>>
>> I have this code running inside my tab plugin:
>>
>> public static long test = Runtime.getRuntime().maxMemory()/1014;
>>      static {
>>      	System.out.println("Total memory : " +test+ " KB");
>>      }
>> }
>>
>> It results in: Total memory : 5515235 KB
>>
>> Windows 7 task manager show java.exe quickly climing to about 2G and stays there. What could explain this? Do I need a specialy compiled protege.jar?
>>
>>    
>>> Had you tried -Xmx6000M?
>>>
>>> http://download.oracle.com/javase/6/docs/technotes/tools/windows/java.html
>>>
>>> -Xmsn
>>> Specify the initial size, in bytes, of the memory allocation pool. This
>>> value must be a multiple of 1024 greater than 1MB. Append the letter k
>>> or K to indicate kilobytes, or m or M to indicate megabytes. The default
>>> value is chosen at runtime based on system configuration.
>>>
>>> On 9/3/2010 10:57 AM, Len Yabloko wrote:
>>>      
>>>> Hello everyone,
>>>>
>>>> I am running latest Protege Frames version on Windows 7 64-bit and trying to generate a very large frame ontology by loading data from MySQL database using frame API. I have allocated 6G to jvm and checked Runtime.maxMemory() to verify that is was correctly allocated. But for some reason when memory reaches about 2.5G (according to Windows task manager) it stops allocating and loading slows after about 15,000 frames loaded. I tried launching Protege with -vmargs -Xmx6g using 64-bit jvm, but no luck so far.
>>>>
>>>> Can someone suggest what may be a cause of such behavior?
>>>>
>>>>
>>>> _______________________________________________
>>>> protege-discussion mailing list
>>>> protege-discussion at lists.stanford.edu
>>>> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>>>>
>>>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>>>>
>>>>        
>>>
>>> _______________________________________________
>>> protege-discussion mailing list
>>> protege-discussion at lists.stanford.edu
>>> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>>>
>>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>>>
>>>      
>>
>> _______________________________________________
>> protege-discussion mailing list
>> protege-discussion at lists.stanford.edu
>> https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>>
>> Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>>    
>
>_______________________________________________
>protege-discussion mailing list
>protege-discussion at lists.stanford.edu
>https://mailman.stanford.edu/mailman/listinfo/protege-discussion
>
>Instructions for unsubscribing: http://protege.stanford.edu/doc/faq.html#01a.03
>





More information about the protege-discussion mailing list