[ADMB Users] question on memory allocation in AD Model builder

Hai Che hai.che at gmail.com
Fri Oct 2 12:13:04 PDT 2009

Thanks a lot, Dave. I have to use gmail to answer this.

I missed a 0 in the cbs option. so yes, indeed, 9GB in both gbs and
cbs option.

It is indeed a memory problem. What I tried is that I added another
funnel_dvariable in the dynamic programming function, so it is running
now, but very slowly. I guess I still have to optimize it to make it


On Oct 2, 10:11 am, dave fournier <ot... at otter-rsch.com> wrote:
> My experience is that the Borland compiler
> has some bugs when really large memory programs are run.
> I like to use it for debugging toy versions of the model
> and then move on the VC++
> or gcc for actual runs of large models.
> Howevre this model appears to be too large
> in any event. Is that 9GB in the -gbs option?
> -ams 600,000,000 -gbs 9,000,000,000 -cbs
> 900,000,000"  to allocate memory.
> --
> David A. Fournier
> P.O. Box 2040,
> Sidney, B.C. V8l 3S3
> Canada
> Phone/FAX 250-655-3364http://otter-rsch.com
> _______________________________________________
> Users mailing list
> Us... at admb-project.orghttp://lists.admb-project.org/mailman/listinfo/users

More information about the Users mailing list