Subject: Overpass API developpement
List archive
- 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, 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.