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.3046875novoselt@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