Hi Sharif,
as Harald already mentioned, there may be some internal problem in SUMO
causing the memory error. Could you please share a preferably small
scenario to reproduce your error? In case you use the TraCI Python
interface but do not want to share your custom script, you can generate a
log of your TraCI calls
<https://sumo.dlr.de/docs/TraCI/Interfacing_TraCI_from_Python.html#generating_a_log_of_all_traci_commands>
instead.
Best regards
Mirko
-----Original-Nachricht-----
Betreff: Re: [sumo-user] Error: bad allocation
Datum: 2023-08-07T09:45:53+0200
Von: "Harald Schaefer via sumo-user" <[email protected]>
An: "Sumo project User discussions" <[email protected]>
Hi Sharif,
answers see below
Best regards Harald
Am 07.08.23 um 09:35 schrieb Sharifullah Asady:
Hi Harald,
Thanks for reply. I am using Windows OS and the development version of
SUMO v1_17_0+0578.
Have you tried SUMO 1.18 or the latest development version of 1.18?
additional comment, why taxi skips a stop when forced to be teleported
due to whatever reasons. Isn't it better to be teleported to the next
assigned stop instead to the very last scheduled stop. Currently, I
assume that when taxi is assigned to a request, the taxi is assigned
two scheduled stops, one at the pick-up point and other at the request
drop-off. Later, when the taxi is forced to teleport, it is teleported
to the very last scheduled stop and maybe causing the bad allocation
error. please correct me if my assumption is wrong. 😊
May be somebody else can answer this question.
Many thanks and have a great day.
Best, Sharif
--------------------------------------------------------------------
From: sumo-user <[email protected]>
<mailto:[email protected]> on behalf of Harald Schaefer via
sumo-user <[email protected]> <mailto:[email protected]>
Sent: Monday, August 7, 2023 9:03:59 AM
To: [email protected] <mailto:[email protected]>
Cc: Harald Schaefer
Subject: Re: [sumo-user] Error: bad allocation
Hi Sharif,
it seems to be an internal memory problem in SUMO.
Which version of SUMO and which operating system are you using?
Best Regards, Harald
Am 06.08.23 um 20:04 schrieb Sharifullah Asady via sumo-user:
Dear all,
I am running simulation using traCI to assign taxis to requests and
at some point, in the simulation the taxi is teleported and skips a
stop at a lane where it has to pick the request. Now, this behavior
gives an error stating "Error: bad allocation" forcing the
simulation to close. Attached is the screenshot of the of the
message.
Many thanks for your response.
Best,
Sharif
_______________________________________________ sumo-user mailing list
[email protected]
<mailto:[email protected]> To unsubscribe from this list, visit
<https://www.eclipse.org/mailman/listinfo/sumo-user>
_______________________________________________
sumo-user mailing list
[email protected]
To unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/sumo-user