From: Eric F. <efe...@ph...> - 2009-02-02 14:20:52
|
> Eric, > > Did you solve your problem yet? One problem is that your are > creating the model directrly from file, which means that for > each instance you have a separate copy of the SBML model > structure, while in principle you would only need one SBML > model and could create the odeModel with > > odeModel_t* = ODEModel_create(Model_t *sbml) > > I guess that would save a lot of memory, esp. if the SBML has > additional annotations! > > Rainer Hi Rainer, Thanks a lot for this answer, and sorry too not to return to you yet. Anyway, I wanted to create many separate models because I wanted to change them independently on the fly (using setVariableValue()). Hence I thought it was possible to create hundreds of models from file and play with each of them. But I memory out after only 92 ODEModel created (model SBML size is 190kB), which I find very low. I tried using ODEModel_create(Model_t *sbml) but I memory out after 115 models. I'll try to find a workaround. Regards, Eric |