New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Memory leak exception #4
Comments
|
Thanks for reporting this. Could you provide a bit more information on how you are using the database? Are you sharing one opened database with many threads or are you opening the database many times? Are you closing the database? When do you get this error? |
This code is called at the starting of application only once and then i use below code to get it public DatabaseReader getGeoLiteDbReader(){if(reader==null) initGeoLite2(); return reader;} When i terminate my application then it show above memory leak message |
|
I using |
|
Thanks. We will look into this. |
|
I just published |
|
I can see here http://search.maven.org/#search|ga|1|g%3A%22com.maxmind.geoip2%22%20AND%20a%3A%22geoip2%22 there is no new version. and http://mvnrepository.com/artifact/com.maxmind.geoip2/geoip2 its still 0.7.1 no new release |
|
You are reporting an issue with the MaxMind DB reader, which GeoIP2 uses but is separate from GeoIP2. As I mentioned, I created a |
|
given link doesn't show more than 'Loading Nexsus ui...` meassage |
|
Here is a direct link to the JAR. It should be on any snapshot mirror of Sonatype doesn't work for you. |
|
I dont understand one thing that when i am using GeoIp2, the only jar i am using is com.maxmind.geoip2 geoip2 0.7.1and its handling reader no other jars I am using so what is the purpose of jar that you have given? |
|
The maxminddb JAR is a dependency of the geoip2 JAR. |
|
shall i include it in my project POM.xml with geoip2-0.7.1.jar. ? |
|
I did a 0.7.2 release of |
I am running a web application in tomcat. I am using geoip2 0.7.1 java driver version. It throws
SEVERE: The web application [/anant] created a ThreadLocal with key of type
[com.maxmind.db.ThreadBuffer](value [com.maxmind.db.ThreadBuffer@8a64bb2]) and a value
of type [java.nio.DirectByteBufferR](value [java.nio.DirectByteBufferR[pos=12545442
lim=28655468 cap=28655468]]) but failed to remove it when the web application was
stopped. Threads are going to be renewed over time to try and avoid a probable memory
refer :
http://stackoverflow.com/questions/23801992/memory-leak-metrics-meter-tick-thread-and-new-i-o-client-worker
leak.
The text was updated successfully, but these errors were encountered: