Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [geomesa-users] Several Problems found in Geomesa-1.0.0.rc2 Query Testing

Hi,
      When i opended the jvisualvm profile on query client node and accumulo tablet server node, I found that some object instance, such as SimpleFeatureTypes and scala.util.parsing.combinator.RegexParsers, survived all the time, their tenure continue to rise (PS: I set the JVM param -XX:MaxTenuringThreshold=10), even through CMS gc has ran several times.
      I think its the cause of the above-mentioned problems. In the client, i closed the iterator after every query, code like this :
                ...................
               FeatureSource featureSource =  dataStore.getFeatureSource(simpleFeatureTypeName);
               FeatureIterator featureItr =  featureSource.getFeatures(query).features();
               int n = 0;
               while (featureItr.hasNext()) {
                     Feature feature = featureItr.next();
                     ++n;
              }
              featureItr.close();
              ....................
      so, i guess somewhere in geomesa query maybe cause mem leak?



Back to the top