octave-bug-tracker
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Octave-bug-tracker] [bug #48914] Request to have memory.m created


From: anonymous
Subject: [Octave-bug-tracker] [bug #48914] Request to have memory.m created
Date: Fri, 26 Aug 2016 15:36:27 +0000 (UTC)
User-agent: Mozilla/5.0 (Windows NT 6.3; WOW64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/52.0.2743.116 Safari/537.36

URL:
  <http://savannah.gnu.org/bugs/?48914>

                 Summary: Request to have memory.m created
                 Project: GNU Octave
            Submitted by: None
            Submitted on: Fri 26 Aug 2016 03:36:24 PM UTC
                Category: Performance
                Severity: 3 - Normal
                Priority: 5 - Normal
              Item Group: Feature Request
                  Status: None
             Assigned to: None
         Originator Name: Mark Morehead
        Originator Email: address@hidden
             Open/Closed: Open
         Discussion Lock: Any
                 Release: 4.0.0
        Operating System: Microsoft Windows

    _______________________________________________________

Details:

Greetings.
I am a new convert to Octave and I am learning the differences and
similarities with Matlab.

I occasionally use very large arrays and have run into contiguous memory block
problems on my Windows system both in Matlab and Octave.  The memory.m program
is very useful for determining the maximum single array size available.

I have a modest machine with 8 Gb of RAM.  However, the maximum single array
size I can create is 880 Mb.  This is after rebooting and not starting any
extra programs except Octave.  After the first array is created the second
largest array I can create is 120 Mb.  I cannot perform some math functions on
the first array because Octave duplicates the first array before it performs
the math functions and there is insufficient contiguous memory for that
duplicate array.

I fully realize that this is a Windows bug/issue with how they use memory and
not a bug in Octave.

However the memory.m function that is available in Matlab would help me deal
with the memory problems on Windows machines.

Could someone please build a memory.m function?  This is beyond my programming
skills.

Thanks
Mark

PS
On my machine the approximate maximum arrays size I can build is:
dat = zeros(5000000,22);
The second largest array I can build is:
dat1 = zeros(5000000,3);
The array sizes keep dropping off from there.






    _______________________________________________________

Reply to this item at:

  <http://savannah.gnu.org/bugs/?48914>

_______________________________________________
  Message sent via/by Savannah
  http://savannah.gnu.org/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]