Objet : Overpass API developpement
Archives de la liste
- From: Roland Olbricht <>
- To:
- Subject: Re: [overpass] std::bad_alloc runtime error
- Date: Tue, 19 Apr 2016 08:17:35 +0200
Hi mmd,
> I'm currently thinking about the following, where "xxx" should be
> replaced by the actual limit previously set via set_limits.
>
>
> } catch (const std::bad_alloc& e) {
> rlimit limit;
> result = getrlimit(RLIMIT_AS, &limit);
> ...
> error_output.runtime_error(std::string("Query exceeded memory
> limit of xxx MB RAM."));
> }
Thakn you for the snippet. See 2587d090b9ba43f7b659e819ba1a4ddb8acf4cee.
Cheers,
Roland
- [overpass] std::bad_alloc runtime error, Pierre Béland, 16/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 17/04/2016
- Re: [overpass] std::bad_alloc runtime error, Pierre Béland, 17/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 17/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 19/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 19/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 20/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 23/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 24/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 25/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 27/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 25/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 24/04/2016
- Re: [overpass] std::bad_alloc runtime error, mmd, 23/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 20/04/2016
- Re: [overpass] std::bad_alloc runtime error, Roland Olbricht, 17/04/2016
Archives gérées par MHonArc 2.6.18.