Dynare++ Crash

This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location where you will have to reset your password.
Forum rules
This forum is closed. You can read the posts but cannot write. We have migrated the forum to a new location (https://forum.dynare.org) where you will have to reset your password.

Dynare++ Crash

Postby Fabian » Tue Aug 11, 2015 12:30 pm

Hello,

i'm trying to use Croce's Long Run Risk .mod File with Dynare++ and higher orders. Order 5 works without problems, but on order 6 and higher Dynare++ (4.4.3) crashes. As this happens under Windows 10 and Mac Os Yosemite on different machines (calling from Matlab or Console), i'm wondering where the error comes from. The Error message is:

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

Obviously some memory allocation goes wrong, but as i'm not into C++, i'm wondering if anyone experienced the same problems. The Journal file doesn't shed light on the issue for me, since it simply ends with

2695.01:E00905:-1.:-0.00:000000: Performing step for order = 6

Yesterdays unstable release doesn't change the problem.

Thanks for ideas and sharing your experiences,

Fabian
Attachments
Approx_10.mod
(4.41 KiB) Downloaded 97 times
Fabian
 
Posts: 11
Joined: Fri May 15, 2015 11:56 am

Re: Dynare++ Crash

Postby jpfeifer » Tue Aug 11, 2015 4:35 pm

This is a memory problem. With order=7, my 16GB RAM are not sufficient.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Dynare++ Crash

Postby Fabian » Tue Aug 11, 2015 6:25 pm

So order = 6 works on 16 Gb? Interestingly, ressource monitoring does not show anything suspicious, only half of my RAM is used while Dynare++ runs.
Thanks for the reply.
Fabian
 
Posts: 11
Joined: Fri May 15, 2015 11:56 am

Re: Dynare++ Crash

Postby jpfeifer » Tue Aug 11, 2015 7:12 pm

I mistyped. Order 6 did not work. We will investigate this issue further.
------------
Johannes Pfeifer
University of Cologne
https://sites.google.com/site/pfeiferecon/
jpfeifer
 
Posts: 6940
Joined: Sun Feb 21, 2010 4:02 pm
Location: Cologne, Germany

Re: Dynare++ Crash

Postby Fabian » Thu Aug 13, 2015 7:31 am

As i'm following the discussion on GitHub, here are some clarifying remarks:

- I did not compile myself and tried the stable and unstable release
- Under MacOS the error message is:

dynare++(598,0xb0185000) malloc: *** mach_vm_map(size=2615975936) failed (error code=3)
*** error: can't allocate region
*** set a breakpoint in malloc_error_break to debug

- The errors happen by calling from console/matlab
- Under MacOS RAM usage is only around 4 Gb, where at maximum 500 mb comes from Dynare++
- I tried running on a Windows machine with 16 Gb too and it crashed again.
Fabian
 
Posts: 11
Joined: Fri May 15, 2015 11:56 am


Return to Dynare help

Who is online

Users browsing this forum: No registered users and 4 guests