Hallo,
I'm working on a large model using Vensim 5.11A-1. A Venapp interface has been developed to allow external users to test scenarios.
Yesterday a small bugs was fixed in the interface. Since that moment I haven't been able to run the model from the interface anymore. If I run the model normally (compiled simulation)it works. If I load the interface and try to run from there I get a fatal error:
"Insufficient memory to allocate handle for ...... bytes"
I experienced this error when there are too many subscripts combinations, but this is not the case: the model is actually large, but it runs successfully without the interface.
Additional information:
- restoring the interface version before the bug fix does not solve the problem.
- If I publish the model and the interface and create a .vpa file the error is still there on my computer (Windows XP) but it runs successfully on another machine with Windows7.
Does the Venapp interface add some hidden complexity to the model? Can Windows XP play a role? But it is puzzling that I could run the model from the interface from my computer until yesterday and suddendly, without any change in the model, I can't do so anymore.
Any idea? Thanks in advance
Davide
fatal error running model from Venapp interface
-
- Super Administrator
- Posts: 4838
- Joined: Wed Mar 05, 2003 3:10 am
Re: fatal error running model from Venapp interface
Are you able to upload it or send it to us?
It sounds like the model is just too large. Does reducing the number of subscript combinations make any difference?
Tony.
It sounds like the model is just too large. Does reducing the number of subscript combinations make any difference?
Tony.
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: fatal error running model from Venapp interface
Thanks Tony.
Unfortunately the model is not in the public domain yet, I'm not allowed to distribute it even for debugging purposes.
I found a possible explanation: despite the model has not changed, I added two external data files to replace some constant values coded in the model. This could have increased the memory requirement. However, since it runsfrom Vensim, it seems that the Venapp also increases the memory requirement, which is something I did not expect.
Davide
Unfortunately the model is not in the public domain yet, I'm not allowed to distribute it even for debugging purposes.
I found a possible explanation: despite the model has not changed, I added two external data files to replace some constant values coded in the model. This could have increased the memory requirement. However, since it runsfrom Vensim, it seems that the Venapp also increases the memory requirement, which is something I did not expect.
Davide
-
- Super Administrator
- Posts: 4838
- Joined: Wed Mar 05, 2003 3:10 am
Re: fatal error running model from Venapp interface
There should be no difference, the same code internally is used in both venapp or Vensim mode.I found a possible explanation: despite the model has not changed, I added two external data files to replace some constant values coded in the model. This could have increased the memory requirement. However, since it runsfrom Vensim, it seems that the Venapp also increases the memory requirement, which is something I did not expect.
Datafiles should not change the memory requirement at all.
Do you get any errors when running with the same files in Vensim? And are you running the same way (eg, a game in the venapp and simulated in Vensim)?
Advice to posters seeking help (it really helps us to help you)
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
http://www.ventanasystems.co.uk/forum/v ... f=2&t=4391
Units are important!
http://www.bbc.co.uk/news/magazine-27509559
Re: fatal error running model from Venapp interface
No, I don't get any errorAdministrator wrote:Do you get any errors when running with the same files in Vensim?
It is a simulation in Vensim while I guess it is a game in Venapp as changes to variables are temporary. I haven't tried a game in Vensim. Have no time today, tomorrow I'll make a testAdministrator wrote:And are you running the same way (eg, a game in the venapp and simulated in Vensim)?
Thanks
Davide