Presumably this is due to #19883

There isn't really any problem here, though. If you implement your own 
version of malloc then, in some implementations, you'll need about as much 
virtual memory as ram to do the accounting. It just uses your 128TB of 
virtual memory space. 

On a related note, 'ulimit -v" is not a good way to restrict memory usage.




On Sunday, March 27, 2016 at 9:28:42 PM UTC+2, Andrey Novoseltsev wrote:
>
> Hello,
>
> I'm struggling with 1/0 error message while upgrading SageMathCell - 
> instead of division by zero I am getting memory error during introspection. 
> I also get memory error on 
>
> l = [0]*10000
>
> And perhaps it is related to:
>
> novoselt@sage:~/sage$ ./sage
> ┌────────────────────────────────────────────────────────────────────┐
> │ SageMath Version 7.2.beta0, Release Date: 2016-03-24               │
> │ Type "notebook()" for the browser-based notebook interface.        │
> │ Type "help()" for help.                                            │
> └────────────────────────────────────────────────────────────────────┘
> ┏━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┓
> ┃ Warning: this is a prerelease version, and it may be unstable.     ┃
> ┗━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━┛
> sage: get_memory_usage()
> 21466.96484375
>
> 21.5GB on start!!! (The machine has 16.)
>
> On a server with several versions and 128GB RAM:
> novoselt@sagenb:~$ /var/opt/sage-6.9/sage -c "print 
> get_memory_usage()"                                                           
>                                                                               
>    
>
> 955.32421875                                                                  
>                                                                               
>                                                        
>
> novoselt@sagenb:~$ /var/opt/sage-6.10/sage -c "print 
> get_memory_usage()"                                                           
>                                                                               
>   
>
> 975.36328125
> novoselt@sagenb:~$ /var/opt/sage-7.0/sage -c "print get_memory_usage()"
> 973.3046875
> novoselt@sagenb:~$ sage -c "print get_memory_usage()"
> 48520.28125
> (the last one is for 7.1)
>
> I understand that in general virtual memory size does not matter much, but 
> if there are ulimits on it it does, and come on - why 20x (if not 50x) 
> increase?!
>
> Andrey
>

-- 
You received this message because you are subscribed to the Google Groups 
"sage-devel" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to sage-devel+unsubscr...@googlegroups.com.
To post to this group, send email to sage-devel@googlegroups.com.
Visit this group at https://groups.google.com/group/sage-devel.
For more options, visit https://groups.google.com/d/optout.

Reply via email to