{"action":"created","issue":{"url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561","repository_url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit","labels_url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561/labels{/name}","comments_url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561/comments","events_url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561/events","html_url":"https://github.com/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561","id":182857100,"number":561,"title":"out of memory exception when trying to browse records","user":{"login":"patrickzurek","id":6615138,"avatar_url":"https://avatars.githubusercontent.com/u/6615138?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickzurek","html_url":"https://github.com/patrickzurek","followers_url":"https://api.github.com/users/patrickzurek/followers","following_url":"https://api.github.com/users/patrickzurek/following{/other_user}","gists_url":"https://api.github.com/users/patrickzurek/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickzurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickzurek/subscriptions","organizations_url":"https://api.github.com/users/patrickzurek/orgs","repos_url":"https://api.github.com/users/patrickzurek/repos","events_url":"https://api.github.com/users/patrickzurek/events{/privacy}","received_events_url":"https://api.github.com/users/patrickzurek/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-13T17:55:17Z","updated_at":"2016-10-13T17:55:20Z","closed_at":null,"body":"JIRA issue created by: jbrand\nOriginally opened: 2011-08-25 07:18 PM\n\nIssue body:\n (nt)"},"comment":{"url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit/issues/comments/253588510","html_url":"https://github.com/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561#issuecomment-253588510","issue_url":"https://api.github.com/repos/eXtensibleCatalog/xcmetadataservicestoolkit/issues/561","id":253588510,"user":{"login":"patrickzurek","id":6615138,"avatar_url":"https://avatars.githubusercontent.com/u/6615138?v=3","gravatar_id":"","url":"https://api.github.com/users/patrickzurek","html_url":"https://github.com/patrickzurek","followers_url":"https://api.github.com/users/patrickzurek/followers","following_url":"https://api.github.com/users/patrickzurek/following{/other_user}","gists_url":"https://api.github.com/users/patrickzurek/gists{/gist_id}","starred_url":"https://api.github.com/users/patrickzurek/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/patrickzurek/subscriptions","organizations_url":"https://api.github.com/users/patrickzurek/orgs","repos_url":"https://api.github.com/users/patrickzurek/repos","events_url":"https://api.github.com/users/patrickzurek/events{/privacy}","received_events_url":"https://api.github.com/users/patrickzurek/received_events","type":"User","site_admin":false},"created_at":"2016-10-13T17:55:20Z","updated_at":"2016-10-13T17:55:20Z","body":"JIRA Coment by user: jbrand\nJIRA Timestamp: 2011-08-25 07:18 PM\n\nComment body:\n\nHappened on 146, and on 240.\r\n\r\nMST's were working hard at the same trying to browse.  Stack trace:\r\n\r\njava.lang.reflect.InvocationTargetException\r\n\tsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\r\n\tsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\r\n\tjava.lang.reflect.Method.invoke(Method.java:597)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)\r\n\txc.mst.interceptor.MSTRolesInterceptor.intercept(MSTRolesInterceptor.java:52)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\txc.mst.interceptor.UserInterceptor.intercept(UserInterceptor.java:68)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)\r\n\tcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)\r\n\torg.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)\r\n\tcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ConversionErrorInterceptor.intercept(ConversionErrorInterceptor.java:133)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)\r\n\tcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ParametersInterceptor.doIntercept(ParametersInterceptor.java:207)\r\n\tcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.StaticParametersInterceptor.intercept(StaticParametersInterceptor.java:190)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\torg.apache.struts2.interceptor.MultiselectInterceptor.intercept(MultiselectInterceptor.java:75)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\torg.apache.struts2.interceptor.CheckboxInterceptor.intercept(CheckboxInterceptor.java:94)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\torg.apache.struts2.interceptor.FileUploadInterceptor.intercept(FileUploadInterceptor.java:243)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ModelDrivenInterceptor.intercept(ModelDrivenInterceptor.java:100)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ScopedModelDrivenInterceptor.intercept(ScopedModelDrivenInterceptor.java:141)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\torg.apache.struts2.interceptor.debugging.DebuggingInterceptor.intercept(DebuggingInterceptor.java:267)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ChainingInterceptor.intercept(ChainingInterceptor.java:142)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.PrepareInterceptor.doIntercept(PrepareInterceptor.java:166)\r\n\tcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.I18nInterceptor.intercept(I18nInterceptor.java:176)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\torg.apache.struts2.interceptor.ServletConfigInterceptor.intercept(ServletConfigInterceptor.java:164)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.AliasInterceptor.intercept(AliasInterceptor.java:190)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.ExceptionMappingInterceptor.intercept(ExceptionMappingInterceptor.java:187)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\torg.apache.struts2.impl.StrutsActionProxy.execute(StrutsActionProxy.java:52)\r\n\torg.apache.struts2.dispatcher.Dispatcher.serviceAction(Dispatcher.java:485)\r\n\torg.apache.struts2.dispatcher.FilterDispatcher.doFilter(FilterDispatcher.java:395)\r\n\txc.mst.servlet.MSTServletFilter.doFilter(MSTServletFilter.java:70)\r\n\r\nroot cause\r\n\r\njava.lang.OutOfMemoryError: Java heap space\r\n\torg.apache.lucene.search.FieldCacheImpl$StringIndexCache.createValue(FieldCacheImpl.java:688)\r\n\torg.apache.lucene.search.FieldCacheImpl$Cache.get(FieldCacheImpl.java:208)\r\n\torg.apache.lucene.search.FieldCacheImpl.getStringIndex(FieldCacheImpl.java:676)\r\n\torg.apache.solr.request.SimpleFacets.getFieldCacheCounts(SimpleFacets.java:350)\r\n\torg.apache.solr.request.SimpleFacets.getTermCounts(SimpleFacets.java:255)\r\n\torg.apache.solr.request.SimpleFacets.getFacetFieldCounts(SimpleFacets.java:283)\r\n\torg.apache.solr.request.SimpleFacets.getFacetCounts(SimpleFacets.java:166)\r\n\torg.apache.solr.handler.component.FacetComponent.process(FacetComponent.java:72)\r\n\torg.apache.solr.handler.component.SearchHandler.handleRequestBody(SearchHandler.java:195)\r\n\torg.apache.solr.handler.RequestHandlerBase.handleRequest(RequestHandlerBase.java:131)\r\n\torg.apache.solr.core.SolrCore.execute(SolrCore.java:1316)\r\n\torg.apache.solr.client.solrj.embedded.EmbeddedSolrServer.request(EmbeddedSolrServer.java:139)\r\n\torg.apache.solr.client.solrj.request.QueryRequest.process(QueryRequest.java:89)\r\n\torg.apache.solr.client.solrj.SolrServer.query(SolrServer.java:118)\r\n\txc.mst.manager.record.DefaultBrowseRecordService.search(DefaultBrowseRecordService.java:73)\r\n\txc.mst.action.browse.BrowseRecords.browse(BrowseRecords.java:304)\r\n\txc.mst.action.browse.BrowseRecords.execute(BrowseRecords.java:125)\r\n\tsun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tsun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)\r\n\tsun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)\r\n\tjava.lang.reflect.Method.invoke(Method.java:597)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:452)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:291)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:254)\r\n\txc.mst.interceptor.MSTRolesInterceptor.intercept(MSTRolesInterceptor.java:52)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\txc.mst.interceptor.UserInterceptor.intercept(UserInterceptor.java:68)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:176)\r\n\tcom.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:98)\r\n\tcom.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:248)\r\n\tcom.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:263)\r\n\r\nnote The full stack trace of the root cause is available in the Apache Tomcat/6.0.24 logs.\r\nApache Tomcat/6.0.24\r\n\r\n\r\n(Hmm I did not find the additional infor in the tomcat logs...)\r\n\r\n\r\nThis seems to cause browsing to 'die' then need to restart tomcat (rest of MST continues to work) - could there be a way to catch this issue - 'try later.' or at least allow for recovery?\r\n\r\nNeed to figure how to reproduce.  There are many 'known' places where mst memory usage is high."}}
{"actor":{"display_login":"patrickzurek"}}