#5278: On modern fedora 64 installs, sage exists frequently when omalloc thinks
there is no memory left
---------------------+------------------------------------------------------
 Reporter:  was      |        Owner:  cwitty  
     Type:  defect   |       Status:  new     
 Priority:  blocker  |    Milestone:  sage-3.3
Component:  misc     |   Resolution:          
 Keywords:           |  
---------------------+------------------------------------------------------
Comment (by cwitty):

 > The first thing that is suspicious is that OM_MALLOC_FROM_SYSTEM is
 called, fails, and then is called again... for no reason.  That is very
 hackish code.

 I expect the idea is that OM_MEMORY_LOW_HOOK empties caches, etc., to free
 up memory before it tries again.  That seems like a good idea in theory; I
 have no idea if it actually does anything in Singular.

 Also, if it thinks it's trying to allocate memory using sbrk, it may also
 think that it can free memory using sbrk, so this might have introduced a
 memory leak.  (If so, it may still be a good temporary fix... memory leaks
 are better than immediate crashes, IMHO.)

-- 
Ticket URL: <http://trac.sagemath.org/sage_trac/ticket/5278#comment:3>
Sage <http://sagemath.org/>
Sage - Open Source Mathematical Software: Building the Car Instead of 
Reinventing the Wheel
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"sage-trac" group.
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-trac?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to