One option is to try to use the ode.pyx wrapper to the gsl library http://hg.sagemath.org/sage-main/file/285a89ed5dc7/sage/gsl/ode.pyx#l1 Another is to try to precompute the hessian and pass it into your program as an argument. This way your program does not call maxima (assuming that is the cause of your problem).
How big is the system? On Tue, Aug 11, 2009 at 8:53 AM, Viny<hje...@hotmail.com> wrote: > > Hello, > > I'm a beginner in python and sage. I'm trying to solve a system of ODE > by the newton method with python by sage. But i have a problem of > memory with Lisp or Maxima when the hessian matrix is calculated. The > process doesn't use the whole 12 giga RAM memory of my 64bits linux > system and crash with this message error: > > Maxima ERROR: > > kill(sage297)$(%i2196) kill(sage290)$batchload("/.sage//temp/14907// > interface//tmp14907-827495505");1+140260649; > > <sage-display><sage-display><sage-display>GC Warning: Out of Memory! > Returning NIL! > > Maxima encountered a Lisp error: > > Memory limit reached. Please jump to an outer point or quit program. > > Automatically continuing. > To reenable the Lisp debugger set *debugger-hook* to nil. > <sage-display> > (%o2199) > sage: > Exiting SAGE (CPU time 1m15.04s, Wall time 5m48.08s). > Exiting spawned Maxima process. > > I have installed sage for linux 64bits system. Someone can help me? > > Thankx > > > > > --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to sage-support-unsubscr...@googlegroups.com For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---