On Nov 14, 2009, at 7:00 PM, Mike Witt wrote: > Can anyone tell me if this is really an out of memory error? > > MemoryError: Out of memory allocating triangulation for <type > 'sage.plot.plot3d.implicit_surface.ImplicitSurface'>
Yes, see http://hg.sagemath.org/sage-main/file/badc4b233e10/sage/plot/plot3d/index_face_set.pyx#l238 which means malloc or realloc returned NULL. Other than running out of memory, I'm not sure of anything that would make (re|m)alloc return NULL. (FYI, sage_malloc is just malloc, see http://hg.sagemath.org/sage-main/file/badc4b233e10/c_lib/include/stdsage.h#l167 .) > This happens when I'm calling implicit_plot3d(). I aplogize for not > posting more context, but it will take some work to come up with a > working fragment that doesn't have a lot of other complications. The > thing is, that I appear to have plenty of available memory when this > happens, and I suspect that it's really some other kind of error > (probably in my code :-) I was just hoping that somebody might have > an idea what might generate this. That's hard to tell without a reproducible example, but it could be that there's a memory leak elsewhere that's causing it to run out of memory here. - Robert --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to [email protected] To unsubscribe from this group, send email to [email protected] For more options, visit this group at http://groups.google.com/group/sage-support URL: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---
