On Nov 13, 12:30 pm, Robert Bradshaw
wrote:
> On Fri, Nov 12, 2010 at 7:10 PM, Jason Grout
>
>
>
>
>
> wrote:
> > On 11/12/10 8:48 PM, Jason Grout wrote:
>
> >> On 11/12/10 6:22 PM, Maxim wrote:
>
> >>> I get very high memory usage when I do something like:
> >>> sage: get_memory_usage()
> >>>
This is now track #10262
(memory leak in scalar*vector multiplication)
Dima
On Nov 13, 5:10 pm, Jason Grout wrote:
> On 11/12/10 10:30 PM, Robert Bradshaw wrote:
>
> > On Fri, Nov 12, 2010 at 7:10 PM, Jason Grout
> > It only has to construct an element if it can't figure out what to do
> > after
On 11/12/10 10:30 PM, Robert Bradshaw wrote:
On Fri, Nov 12, 2010 at 7:10 PM, Jason Grout
It only has to construct an element if it can't figure out what to do
after consulting the Parents themselves.
Ah, okay.
And then there's the matter you talk about; why is an element so big?
The
--
| Sage Version 4.6, Release Date: 2010-10-30 |
| Type notebook() for the GUI, and license() for information.|
--
sage: for r in
Robert Bradshaw wrote:
> [...] For almost
> any kind of linear algebra, you're better off using RDF, or even numpy
> directly.
Thanks for that! Using numpy arrays just gave a new breath of life to
my 8GB ram!
Now the example in my first post takes... 277KB instead of 4.5GB,
which is closer to my
It's not only division (both on Sage 4.5* and on 4.6, with minor
differences in memory usage figures):
sage: get_memory_usage()
811.38671875
sage: A=vector(range(0,7000))*(1/2)
sage: get_memory_usage()
3059.31640625
On Nov 13, 12:30 pm, Robert Bradshaw
wrote:
> On Fri, Nov 12, 2010 at 7:10 PM, J
On Fri, Nov 12, 2010 at 7:10 PM, Jason Grout
wrote:
> On 11/12/10 8:48 PM, Jason Grout wrote:
>>
>> On 11/12/10 6:22 PM, Maxim wrote:
>>>
>>> I get very high memory usage when I do something like:
>>> sage: get_memory_usage()
>>> -> 809.9453125
>>> sage: A=vector(range(0,1))/1
>>> sage: get_me
On 11/12/10 8:48 PM, Jason Grout wrote:
On 11/12/10 6:22 PM, Maxim wrote:
I get very high memory usage when I do something like:
sage: get_memory_usage()
-> 809.9453125
sage: A=vector(range(0,1))/1
sage: get_memory_usage()
-> 5393.2734375
Which is a whooping 4.5GB+ of memory to hold a 1
On 11/12/10 6:22 PM, Maxim wrote:
I get very high memory usage when I do something like:
sage: get_memory_usage()
-> 809.9453125
sage: A=vector(range(0,1))/1
sage: get_memory_usage()
-> 5393.2734375
Which is a whooping 4.5GB+ of memory to hold a 1 float vector...
I would have thought