I have found the problem : I wasn't aware that listing several layers separated by coma triggered a join between the layers.
If I turn my list typename list "A,B" into (A)(B), I no longer have problems ! Alexandre Le mar. 3 déc. 2019 à 08:27, Alexandre Gacon <alexandre.ga...@gmail.com> a écrit : > Hi, > > I have done some additional tests on this case: even if I trigger a query > with a BBOX matching an area for which there is no data at all, I have the > same behavior. The WFS request never returns and at the end I have to > restart my geoserver instance. > > Regards > Alexandre > > Le mer. 27 nov. 2019 à 17:40, Rahkonen Jukka (MML) < > jukka.rahko...@maanmittauslaitos.fi> a écrit : > >> Hi, >> >> >> >> Please give a bit more details. Imagine that you are somebody who do not >> know your data and queries and think what information you would need for >> setting up a same kind of environment and for making same kind of queries >> to show the issue. >> >> >> >> -Jukka Rahkonen- >> >> >> >> *Lähettäjä:* Alexandre Gacon <alexandre.ga...@gmail.com> >> *Lähetetty:* keskiviikko 27. marraskuuta 2019 16.31 >> *Vastaanottaja:* geoserver-users <Geoserver-users@lists.sourceforge.net> >> *Aihe:* [Geoserver-users] WFS issue when query several types at the same >> time >> >> >> >> Hi all, >> >> >> >> I would like to use WFS on my geoserver instance in order to make queries >> with several feature types in the same query (from OL based application), >> in order to manage cluster of features on the client side even if the >> feature type is different. >> >> >> >> When I try to do so, GEOSERVER is busy for a very long time and I >> finished with a java.lang.OutOfMemoryError : GC overhead limit exceeded. >> >> >> >> If I try to query each feature type separately, I have no issue at all. >> >> >> >> I run the 2.16.0 version on a Linux VM (RHEL 7.3) on Tomcat 9, with Java >> Oracle 1.8. The server has 2 CPU and 8 Gb of memory. Java is configured to >> start with Garbage Collection and 2 Gb of memory. >> >> >> >> The data comes from a Postgis database hosted on another server. The >> layers for the feature types are defined with SQL views in Geoserver. >> >> >> >> What should I do to solve this problem ? Or is there another/better >> solution to meet my requirement (being able to do cluster of features >> client side with OL, with feature of different types). >> >> >> >> Regards >> >> -- >> >> Alexandre Gacon >> > > > -- > Alexandre Gacon > -- Alexandre Gacon
_______________________________________________ Geoserver-users mailing list Please make sure you read the following two resources before posting to this list: - Earning your support instead of buying it, but Ian Turton: http://www.ianturton.com/talks/foss4g.html#/ - The GeoServer user list posting guidelines: http://geoserver.org/comm/userlist-guidelines.html If you want to request a feature or an improvement, also see this: https://github.com/geoserver/geoserver/wiki/Successfully-requesting-and-integrating-new-features-and-improvements-in-GeoServer Geoserver-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/geoserver-users