all messages for Emacs-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: "Elias Mårtenson" <lokedhs@gmail.com>
To: 44416@debbugs.gnu.org
Subject: bug#44416: Unexpected error message when allocating oversized array
Date: Tue, 3 Nov 2020 20:29:38 +0800	[thread overview]
Message-ID: <CADtN0WLbH1++uuTYn0LBbm4sPeRCA9j6eAc6wqV3vnwpxFepEg@mail.gmail.com> (raw)

[-- Attachment #1: Type: text/plain, Size: 484 bytes --]

Instead of the expected WS FULL, I got the following error when trying to
sum a large array:

*      +/ ,9 (⌊n÷9) ⍴ ⍳n←20000000000*
Value_P::Value_P(ShapeItem len, const char * loc) failed at Value_P.icc:107
(caller: Bif_F12_INDEX_OF.cc:44)
 what: std::bad_alloc
 initial sbrk(): 0xeef000
 current sbrk(): 0xeef000
 alloc_size:     0x6fc23ac000 (480000000000)
 used memory:    0x14548 (83272)
WS FULL+
      +/,9(⌊n÷9)⍴⍳n←20000000000

Regards,
Elias

[-- Attachment #2: Type: text/html, Size: 650 bytes --]

             reply	other threads:[~2020-11-03 12:29 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-03 12:29 Elias Mårtenson [this message]
2020-11-03 13:15 ` bug#44416: Unexpected error message when allocating oversized array Mattias Engdegård
2020-11-03 13:37   ` Elias Mårtenson
2020-11-03 14:16     ` Stefan Kangas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=CADtN0WLbH1++uuTYn0LBbm4sPeRCA9j6eAc6wqV3vnwpxFepEg@mail.gmail.com \
    --to=lokedhs@gmail.com \
    --cc=44416@debbugs.gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
Code repositories for project(s) associated with this external index

	https://git.savannah.gnu.org/cgit/emacs.git
	https://git.savannah.gnu.org/cgit/emacs/org-mode.git

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.