MSU-CSIS / telecoupling-toolbox

A suite of geospatial software tools and apps for socioeconomic and environmental analysis on coupled human-natural systems (CHANS) from local to global scales
https://msu-csis.github.io/telecoupling-toolbox
Other
15 stars 11 forks source link

ArcGIS crash when doing Network Analysis #16

Open Shens998 opened 4 years ago

Shens998 commented 4 years ago

Hi there,

When I try running the network analysis, the ArcGIS carshed. And I can't catch the error information.

I used the ArcGIS 10.5 and R 3.6.2. Does anyone know how to fix this?

Shens998 commented 4 years ago

Hi there,

When I try running the network analysis, the ArcGIS carshed. And I can't catch the error information.

I used the ArcGIS 10.5 and R 3.6.2. Does anyone know how to fix this?

Here is the error infos:

Messages Executing: NetworkAnalysisGrouping "E:\SampleData_ArcGIS_v2.3\Systems\Network Analysis Grouping\nodes.csv" CODE "E:\SampleData_ArcGIS_v2.3\Systems\Network Analysis Grouping\links.csv" "E:\SampleData_ArcGIS_v2.3\Systems\Network Analysis Grouping\World_countries_2002.shp" ISO_3_CODE walktrap 10 2 Set3 .05 .08 .8 E:\test4.pdf C:\Users\shens\Documents\ArcGIS\nodes_NetworkAnalysisGroupin8.shp E:\test56.csv Start Time: Wed Dec 25 18:05:01 2019 Running script NetworkAnalysisGrouping... Loading Library... The following objects are masked from 'package:stats':

decompose, spectrum

The following object is masked from 'package:base':

union

The following objects are masked from 'package:igraph':

as_data_frame, groups, union

The following objects are masked from 'package:stats':

filter, lag

The following objects are masked from 'package:base':

intersect, setdiff, setequal, union

Reading Input Parameters... Creating Clusters... Reading Telecoupling Systems Layer... Joining Network Table to Telecoupling Systems Layer... Creating Output Shapefile... Creating Output CSV file... At centrality.c:2617 :closeness centrality is not well-defined for disconnected graphs Creating Plots for Clusters... Saving Output Files ... Error: C stack usage 564878092 is too close to the limit In addition: Warning message: In memory.limit(3072) : cannot decrease memory limit: ignored

My PC has 32GB memories

f-tonini commented 4 years ago

Hi, I think the error you are getting it's related to the R package used in our tool. I would try googling around or search forums for a similar error and, if you can't find anything, try contacting the R package creator. Looks like you have some issue with disconnected graphs and C stack usage. The package I am using is igraph.