Skip to Content.
Sympa Menu

overpass - Re: [overpass] std::bad_alloc runtime error

Subject: Overpass API developpement

List archive

Re: [overpass] std::bad_alloc runtime error


Chronological Thread 
  • 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





Archive powered by MHonArc 2.6.18.

Top of Page