Hello everybody,
I get the following error:
18 Nov 10:12:40 ERROR [geotools.map] - Call MapContent dispose() to prevent memory leaks
in the catalina.out tomcat log.
Here is the java parameter:
JAVA_OPTS=“$JAVA_OPTS -Xms1536m -Xmx6144m -XX:MaxPermSize=256m”
The tomcat is executing with jdk 7 on a 64 bit platform with Ubuntu 12 LTS.
- 2.4.1
- 2bd0f71f9d0037e6f92a9fd639f0c93200f4b4f7
- 21-Oct-2013 01:44
- 10.1 (rev 568b187de57623f5962225d965de67d070e9d941)
- 1.5.0 (rev 1.5.x/f981cafd349886bb2a1ef45067f26b1aa8e4aff4)
JVM Version | Oracle Corporation: 1.7.0_17 (Java HotSpot™ 64-Bit Server VM) |
Locks 0
Free locks
Connections 1
Memory Usage 1 GB
···
–
Mauro Bagazzi
SardegnaIT srl
Via dei giornalisti, 6, Cagliari
Telefono : +39-0706069017
E-mail: <mbagazzi@anonymised.com>
Skype: mauro.bagazzi
On Tue, Nov 19, 2013 at 9:26 AM, mbagazzi@anonymised.com <
maurobagazzilavoro@anonymised.com> wrote:
Hello everybody,
I get the following error:
18 Nov 10:12:40 ERROR [geotools.map] - Call MapContent dispose() to
prevent memory leaks
Ah, this is an error GeoTools writes when we are not disposing the
MapContent, which I believe
can happen when the WMS request fails.
The thing is, it's not an error in GeoServer. In a Geotools Swing
application there are listeners
that can keep the map content up if not disposed, but GeoServer deos not
use them
Fixing this is thus low priority (it's just noise in the logs with no real
issues), but anyways,
can you open a ticket about this on http://jira.codehaus.org/browse/GEOS?
Maybe attach full logs, they should help seeing in which conditions the log
message is
generated
Cheers
Andrea
--
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------