[R] heap memory exhausted

Francisco Cribari cribari at de.ufpe.br
Fri Nov 27 08:27:20 CET 1998


I am running R (verion ) for windows under Windows NT Workstation 4.0 
SP3. When I try to start R from a command prompt window using 

    D:\R\rw0630\bin>R -v10

I get a "Dr. Watson" error message which says: 

   "An application error has occurred and an application error 
    log is being generated. 

                        R.exe

    Exception: access violation (0x0000005), Address: 0x004016db"

Would anyone know what is causing that? Other values of -v also cause 
problems, even -v2 or -v1. 

The hardware is a PII 266 MHz, 128 MB RAM. 

Here is what's in the log file:

-----------------------------------

Application exception occurred:
        App:  (pid=120)
        When: 11/27/1998 @ 7:14:51.575
        Exception number: c0000005 (access violation)

*----> System Information <----*
        Computer Name: EDGEWORTH
        User Name: cribari
        Number of Processors: 1
        Processor Type: x86 Family 6 Model 3 Stepping 4
        Windows Version: 4.0
        Current Build: 1381
        Current Type: Uniprocessor Free
        Registered Organization: Windows NT
        Registered Owner: Windows NT

*----> Task List <----*
   0 Idle.exe
   2 System.exe
  20 smss.exe
  28 csrss.exe
  34 WINLOGON.exe
  40 SERVICES.exe
  43 LSASS.exe
  66 SPOOLSS.exe
  78 RPCSS.exe
 109 NDDEAGNT.exe
  94 EXPLORER.exe
 117 systray.exe
 122 Quick.exe
  75 winpm-32.exe
  80 CMD.exe
 120 R.exe
  97 DRWTSN32.exe
   0 _Total.exe

(00400000 - 00400000) 
(77f60000 - 77fbc000) dll\ntdll.dbg
(77d80000 - 77db2000) dll\comdlg32.dbg
(77f00000 - 77f5e000) dll\kernel32.dbg
(77e70000 - 77ec4000) dll\user32.dbg
(77ed0000 - 77efc000) dll\gdi32.dbg
(77dc0000 - 77dfe000) dll\advapi32.dbg
(77e10000 - 77e62000) dll\rpcrt4.dbg
(77c40000 - 77d7c000) dll\shell32.dbg
(77bf0000 - 77c3f000) dll\comctl32.dbg
(77630000 - 77657000) dll\crtdll.dbg

State Dump for Thread Id 0x6a

eax=00000000 ebx=025028e8 ecx=00000000 edx=024efe58 esi=77f6c1ca 
edi=77fa55b0
eip=004016db esp=024efe78 ebp=024effa0 iopl=0         nv up ei pl zr 
na po nc
cs=001b  ss=0023  ds=0023  es=0023  fs=0038  gs=0000             
efl=00000246


function: <nosymbols>
        004016b3 0000             add     [eax],al                    
 ds:00000000=??
        004016b5 8b5d0c           mov     ebx,[ebp+0xc]          
ss:0341e9a6=????????
        004016b8 ff33             push    dword ptr [ebx]        
ds:025028e8=02500d85
        004016ba 687e134000       push    0x40137e
        004016bf 6808b04c00       push    0x4cb008
        004016c4 e897d80b00       call    004bef60
        004016c9 6a5c             push    0x5c
        004016cb 6808b04c00       push    0x4cb008
        004016d0 e893d80b00       call    004bef68
        004016d5 8985fcfeffff     mov     [ebp+0xfffffefc],eax   
ss:024efe9c=00000000
FAULT ->004016db c60000           mov     byte ptr [eax],0x0          
 ds:00000000=??
        004016de 6a5c             push    0x5c
        004016e0 6808b04c00       push    0x4cb008
        004016e5 e87ed80b00       call    004bef68
        004016ea 8985fcfeffff     mov     [ebp+0xfffffefc],eax   
ss:024efe9c=00000000
        004016f0 c60000           mov     byte ptr [eax],0x0          
 ds:00000000=??
        004016f3 6808b04c00       push    0x4cb008
        004016f8 e8cbd70b00       call    004beec8
        004016fd 83c420           add     esp,0x20
        00401700 6810134000       push    0x401310
        00401705 e84ed80b00       call    004bef58
        0040170a 83c404           add     esp,0x4

*----> Stack Back Trace <----*

FramePtr ReturnAd Param#1  Param#2  Param#3  Param#4  Function Name
024effa0 004010d5 00000002 025028e8 025022c8 7ffdf000 <nosymbols> 

*----> Raw Stack Dump <----*
024efe78  08 b0 4c 00 5c 00 00 00 - 08 b0 4c 00 7e 13 40 00  
..L.\.....L.~. at .
024efe88  85 0d 50 02 00 f0 fd 7f - ca c1 f6 77 b0 55 fa 77  
..P........w.U.w
024efe98  02 00 00 00 00 00 00 00 - 80 00 40 00 00 00 02 00  
.......... at .....
024efea8  00 00 00 01 1c ff 4e 02 - 87 11 f6 77 89 4a f6 77  
......N....w.J.w
024efeb8  48 05 50 02 89 4a f6 77 - 48 05 50 02 89 4a f6 77  
H.P..J.wH.P..J.w
024efec8  48 05 50 02 0c 00 00 00 - 02 00 00 00 00 f0 fd 7f  
H.P.............
024efed8  d8 0d 50 02 00 f0 fd 7f - 00 00 00 00 d0 28 50 02  
..P..........(P.
024efee8  00 00 50 02 00 00 00 00 - 60 ff 4e 02 00 00 00 00  
..P.....`.N.....
024efef8  58 ff 4e 02 60 35 fa 00 - 30 ff 4e 02 a2 4b f6 77  
X.N.`5..0.N..K.w
024eff08  00 00 50 02 d0 28 50 02 - 00 00 50 02 00 00 00 00  
..P..(P...P.....
024eff18  b0 55 fa 77 15 00 00 00 - 00 f0 fd 7f 40 f0 fd 7f  
.U.w........ at ...
024eff28  58 ff 4e 02 a2 4b f6 77 - 00 00 50 02 d0 28 50 02  
X.N..K.w..P..(P.
024eff38  7c 4c f6 77 48 05 50 02 - 78 0d 50 02 00 00 00 00  
|L.wH.P.x.P.....
024eff48  00 f0 fd 7f 04 c4 63 00 - 8c ff 4e 02 02 00 00 00  
......c...N.....
024eff58  8c ff 4e 02 d7 c4 63 77 - 00 00 50 02 00 00 00 00  
..N...cw..P.....
024eff68  d8 28 50 02 88 59 64 77 - d8 28 50 02 d8 0d 50 02  
.(P..Ydw.(P...P.
024eff78  90 10 64 77 b0 55 fa 77 - ca c1 f6 77 09 00 00 00  
..dw.U.w...w....
024eff88  03 00 00 00 94 ff 4e 02 - 37 1c 63 77 ac ff 4e 02  
......N.7.cw..N.
024eff98  1d 10 40 00 00 00 4c 00 - b8 ff 4e 02 d5 10 40 00  
.. at ...L...N...@.
024effa8  02 00 00 00 e8 28 50 02 - c8 22 50 02 00 f0 fd 7f  
.....(P.."P.....

-----------------------------------


Thanks. Francisco.


On 27 Nov 98, at 14:17, Ross Ihaka wrote:

> There is a command line option -v which sets the size of the heap in
> megabytes.  Try
>  R -v10
> or, if you have lots of memory
>  R -v100
> 
> Ross

________________________________________________________________________

Francisco Cribari-Neto               voice: +55-81-2718420
Departamento de Estatistica          fax:   +55-81-2718422
Universidade Federal de Pernambuco   e-mail: cribari at de.ufpe.br
Recife/PE, 50740-540, Brazil         http://www.de.ufpe.br/~cribari/

             Eat well, exercise, and die anyway. 
________________________________________________________________________
   
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list