RRO 3.2.2 Rgui 64 Appcrashes

22 views
Skip to first unread message

Peter Schlesinger

unread,
Oct 15, 2015, 12:31:50 PM10/15/15
to Revolution R Open
I have a dell m6800 with 16gb ram, 4.5TB HD and the fastest i7 chip available which Dell loaded with Win 7 SP1. I loaded RRO 3.2.2 64bit and I have been having repeated APPCRASH events from this script:

setwd("c:/evi06")
library(sp)
library(raster)
library(landsat)
x1 <- raster("L5019050_20010331_r_b_b1.rst")
aspect <- readGDAL("A_srtm_20010331_u.tif")
slope <- readGDAL("S_srtm_20010331_u.tif")
gx1 <- as(x1, 'SpatialGridDataFrame')
gx1tc <- minnaert(gx1, slope, aspect, sunelev=58.02, sunazimuth=105.35, slopeclass=c(1, 5, 10, 15, 50))
tcorrx1 <- raster(gx1tc)
tcor_rst <- writeRaster(tcorrx1,"tcorrx1.rst",format='IDRISI')

it bombs on the highlighted line with the minnaert function.

The files being processed are single band, file format : Idrisi Raster A.1

data type   : integer
file type   : binary
columns     : 7811
rows        : 7091

and I can display and work with them in IDRISI and ArcGIS without issue. In fact, topocorr (another landsat package function similar to minnaert) runs fine with these files.  When I look in task manager before the crashes, it is using from 3.8GB - 13GB of memory. What is the issue here?

jmar...@microsoft.com

unread,
Oct 15, 2015, 1:07:49 PM10/15/15
to Revolution R Open
Hi Peter,

Can you try to reproduce this issue in regular R 3.2.2? If you cannot reproduce this issue in regular R, please let us know.

If you cannot reproduce, then also try turning off MKL threads by setting them to 1.
setMKLthreads(1)

Thank you,
Josée

Reply all
Reply to author
Forward
0 new messages