Subject: Overpass API developpement
List archive
- From: mmd <>
- To:
- Subject: Re: [overpass] std::bad_alloc runtime error
- Date: Tue, 19 Apr 2016 22:56:28 +0200
Hi Roland
Am 17.04.2016 um 10:07 schrieb Roland Olbricht:
>
> Please report if requests still fail. I'm open to raise the limits even
> further if there is good reason to do so.
>
someone reported an out of memory situation on stack overflow for the
following rather innocent looking query:
way[building](poly:"50.7 7.1 50.7 7.12 50.71 7.11"); (._;>;);out;
/usr/bin/time -v osm3s_query reports the following max memory consumption:
Maximum resident set size (kbytes): 3042896
Maybe the current limit is still a bit low for those kind of queries?
Looking at a selection of several thousand long running queries, I would
suggest a default hard limit of 4 GB. That would still allow 99,x% of
all queries, with no need for an additional [maxsize: ] setting.
Cheers,
mmd
- [overpass] std::bad_alloc runtime error, Pierre Béland, 04/16/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/17/2016
- Re: [overpass] std::bad_alloc runtime error, Pierre Béland, 04/17/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/17/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/19/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/19/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/20/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/23/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/24/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/25/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/27/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/25/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/24/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 04/23/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/20/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 04/17/2016
Archive powered by MHonArc 2.6.18.