delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/03/21/05:53:11

From: Heiko DOT Rommel AT post DOT uni-bielefeld DOT de (Heiko Rommel)
Subject: run-time error at memory allocations
21 Mar 1998 05:53:11 -0800 :
Message-ID: <199803182218.XAA11860.cygnus.gnu-win32@hermes.hrz.uni-bielefeld.de>
Mime-Version: 1.0
To: "gnu-win32" <gnu-win32 AT cygnus DOT com>

Hi there !

I encountered a run-time error with a program I compiled with Cygnus Beta
19.
The error reads as follows:
-------------------------
(C:\OpenGL\source\numerical\fark.EXE 1001) _sbrk: unable to commit
extension
------------------------
The error happens as my programm tries to allocate a float array with
dimensions 2048 x 2048:
 k = 2048;
 float a = new[k*k];
In a previous step that program successfully allocated, used and
deallocated a float array with dimensions 1024 x 1024.
The problem was not there with Beta 18.

Any suggestions ?

P.S.: this is not a problem of available RAM (which my computer has plenty
of)

-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019