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

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

[Octave-bug-tracker] [bug #47468] ones() is able to create array with nu


From: anonymous
Subject: [Octave-bug-tracker] [bug #47468] ones() is able to create array with number of elements above sizemax
Date: Fri, 30 Dec 2016 10:52:52 +0000 (UTC)
User-agent: Mozilla/5.0 (X11; Ubuntu; Linux i686; rv:50.0) Gecko/20100101 Firefox/50.0

Follow-up Comment #3, bug #47468 (project octave):

I can confirm this problem with octave 3.8.2 (Ubuntu Linux 12.04) too for
zeros function.

When I do a fresh start of octave with experimental forced GUI I can generate


-----------------------
test = zeros(18059);
-----------------------


without errors.

When I try to add some other variables to that, lets say


------------------------
n=0;
while(1)
  n++;
  dump{n} = zeros();
endwhile
------------------------


it is even possible to add a few arrays with small size (~10 - 50 square
arrays).

.

Then I clear everything and repeat the steps but

even the 18059*18059 zeros aren't working.

Add some point even arrays with 



test = zeros(floor(sqrt(sizemax/8.0)-1.0));



won't work.


Is there no possiblity to check how much unfragmented memory is still
available for arrays in octave by a 



system('some script')




My System Specs (lshw -short) and Linux distro is...


H/W-Pfad        Gerät      Klasse         Beschreibung
=======================================================
                            system         HP ProBook 450 G1 (F7X73ES#ABD)
/0                          bus            1942
/0/c                        memory         64KiB BIOS
/0/0                        processor      Intel(R) Core(TM) i5-4200M CPU @
2.50GHz
/0/0/2                      memory         32KiB L1 Cache
/0/0/3                      memory         256KiB L2 Cache
/0/0/4                      memory         3MiB L3 Cache
/0/0/2.1                    processor      Logische CPU
/0/0/2.2                    processor      Logische CPU
/0/0/2.3                    processor      Logische CPU
/0/0/2.4                    processor      Logische CPU
/0/0/2.5                    processor      Logische CPU
/0/0/2.6                    processor      Logische CPU
/0/0/2.7                    processor      Logische CPU
/0/0/2.8                    processor      Logische CPU
/0/0/2.9                    processor      Logische CPU
/0/0/2.a                    processor      Logische CPU
/0/0/2.b                    processor      Logische CPU
/0/0/2.c                    processor      Logische CPU
/0/0/2.d                    processor      Logische CPU
/0/0/2.e                    processor      Logische CPU
/0/0/2.f                    processor      Logische CPU
/0/0/2.10                   processor      Logische CPU
/0/1                        memory         32KiB L1 Cache
/0/6                        memory         16GiB Systemspeicher
/0/6/0                      memory         8GiB SODIMM DDR3 Synchron 1600 MHz
(0,6 ns)
/0/6/1                      memory         8GiB SODIMM DDR3 Synchron 1600 MHz
(0,6 ns)
/0/100                      bridge         Xeon E3-1200 v3/4th Gen Core
Processor DRAM Controller
/0/100/1                    bridge         Xeon E3-1200 v3/4th Gen Core
Processor PCI Express x16 Controller
/0/100/1/0                  generic        Illegal Vendor ID
/0/100/2                    display        4th Gen Core Processor Integrated
Graphics Controller
/0/100/3                    multimedia     Xeon E3-1200 v3/4th Gen Core
Processor HD Audio Controller
/0/100/14                   bus            8 Series/C220 Series Chipset Family
USB xHCI
/0/100/16                   communication  8 Series/C220 Series Chipset Family
MEI Controller #1
/0/100/1a                   bus            8 Series/C220 Series Chipset Family
USB EHCI #2
/0/100/1b                   multimedia     8 Series/C220 Series Chipset High
Definition Audio Controller
/0/100/1c                   bridge         8 Series/C220 Series Chipset Family
PCI Express Root Port #1
/0/100/1c.5                 bridge         8 Series/C220 Series Chipset Family
PCI Express Root Port #6
/0/100/1c.5/0   eth0        network        RTL8111/8168/8411 PCI Express
Gigabit Ethernet Controller
/0/100/1c.6                 bridge         8 Series/C220 Series Chipset Family
PCI Express Root Port #7
/0/100/1c.6/0   wlan0       network        Wireless 7260
/0/100/1c.7                 bridge         8 Series/C220 Series Chipset Family
PCI Express Root Port #8
/0/100/1c.7/0               generic        Realtek Semiconductor Co., Ltd.
/0/100/1d                   bus            8 Series/C220 Series Chipset Family
USB EHCI #1
/0/100/1f                   bridge         HM87 Express LPC Controller
/0/100/1f.2                 storage        8 Series/C220 Series Chipset Family
6-port SATA Controller 1 [AHCI m
/0/2            scsi4       storage        
/0/2/0.0.0      /dev/sda    disk           500GB HGST HTS545050A7
/0/2/0.0.0/1    /dev/sda1   volume         461GiB EXT4-Laufwerk
/0/2/0.0.0/2    /dev/sda2   volume         3976MiB Extended partition
/0/2/0.0.0/2/5  /dev/sda5   volume         3976MiB Linux swap / Solaris
partition
/0/3            scsi5       storage        
/0/3/0.0.0      /dev/cdrom  disk           DVD-RAM UJ8DB
/1                          power          FP06047




Linux blanedbyuser 3.13.0-106-generic #153~precise1-Ubuntu SMP Tue Dec 6
16:14:59 UTC 2016 i686 i686 i386 GNU/Linux


best regards

Niko

    _______________________________________________________

Reply to this item at:

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

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




reply via email to

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