I am getting the below mentioned message and my code terminates execution.
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. terminate called after throwing an instance of 'std::bad_alloc' what(): std::bad_alloc
What is the reason behind it? Well my simulation contains close to a 100,000 nodes. Is it because of that? I am using omnetpp-4.6 on windows 7.
EDIT: after trying lower number of nodes
I tried changing the number of nodes but still got the below message :
This application has requested the Runtime to terminate it in an unusual way. Please contact the application's support team for more information. terminate called after throwing an instance of 'cRuntimeError' what(): Attempt to delete network during simulation.
So I guess this is also running out of memory