Hi Zhekai, There is some discussion on this issue, see https://email@example.com/msg03564.html.
I don't think there was ever a resolution other than Mike's suggestion of a restart from time to time. Cheers, Daniel On Tue, Jun 20, 2017 at 11:39 AM, Zhekai Deng <zhekaideng2...@u.northwestern.edu> wrote: > HI All, > > I think I run into some memory leak issues using trilinos as my solver both > for serial and parallel case. The total memory goes up from initial around > 300 MB to the my system memory limit (like 29 GB), and program stops. I have > attached my example code below. > > Somethings I am not sure if I implement it correctly: > 1. in the example code, I basically solve multiple equations at the same > time. I use list, and append my CellVarible together > > 2. Similar, I use list and append my equation together > > 3. Create coupled equation by looping through the list element, and solve > this coupled equation. > > 4. During the solution step, I loop through the list element, and do > updateOld() > > The results of the numerical calculation looks correct to me, I just have > this memory issue that prevent me from going longer time steps because I run > out of memory. > > I wonder is there any workaround/fix to this problem ? > > I am using the build from Anaconda repository, default trillions solver, and > my OS is Ubuntu 16.04. > > _______________________________________________ > fipy mailing list > firstname.lastname@example.org > http://www.ctcms.nist.gov/fipy > [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ] -- Daniel Wheeler _______________________________________________ fipy mailing list email@example.com http://www.ctcms.nist.gov/fipy [ NIST internal ONLY: https://email.nist.gov/mailman/listinfo/fipy ]