Stack Exchange Network

Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [memoryerror]

The tag has no usage guidance.

2
votes
1answer
39 views

Dividing/tiling input features in FME, processing independently and fanning out the output by tile

I have two heavy-weight polygon feature classes that I want to union and then calculate some area-weighted average of one attribute for each aggregate (say parcel polygons, which is one of the inputs) ...
0
votes
2answers
45 views

Reduce GEE memory usage?

I am working with global applications and decided to use the Python Earth Engine API to collect some data I will need. I am exporting annual, global NDVI composites based on Landsat. Since this ...
2
votes
0answers
147 views

Using Reclass in Arcpy, Error 010005: Unable to Allocate Memory

I've derived a raster of slopes from a 10 m DEM resampled to 15 m for an area of approximately 20,000 mi^2. I want to use Python to reclassify those slopes into categories according to range, but ...
0
votes
1answer
276 views

GEE unsupervised classification (clustering) of Landsat 8 cloud free composite - User memory limit exceeded

Can anyone explain why I am getting the memory limit error when trying to classify using the wekaKMeans algorithm over a cloud-free composite of Bangladesh? I'm trying to differentiate mangrove pixels....
1
vote
2answers
633 views

NumPy memory error on large rasters

I have multiple large rasters. Their 5 percentile and 95 percentile are needed to be calculated. After loading the rasters to the ArcMap, I am using the following codes - import numpy import arcpy ...
2
votes
1answer
192 views

Arcpy “MemoryError”; Get Classification Breaks on a TIF Raster; Jenks Breaks; Python

I have a large .tif raster with integer values. I wish to generate Jenks classification breaks using code and then use those breaks to reclassify my .tif file. I came across a block of code that I ...
1
vote
2answers
1k views

Replace NA's with 0 for large raster data using R?

I want to replace all NA values in a large raster with 0. I found this answer: Replace NA's with 0 for raster data using R? #getting a raster library(raster) f <- system.file("external/test....
1
vote
0answers
65 views

Getting MemoryError making hexagonal lattice over polygon in ArcPy? [closed]

I am creating a hexagonal lattice that I will then use to create Thiessen Polygons. We are required to make a lattice first. I can't figure out how to get rid of the MemoryError that looks like this: ...
0
votes
1answer
158 views

Arcpy RasterToNumPyArray does not read floating point raster

I have below rasters: One with dimension (13646, 7510) where INTEGER pixel values ranges from 0-14. One with dimension (13646, 7510) where DOUBLE (upto 10 decimal places) pixel values ranges from 0-...
1
vote
3answers
2k views

Convert Raster to Numpy Array with only Arcpy and Numpy

All the articles I'm finding including GDAL or PIL(?) which I cannot use. So I am trying to convert a raster I have to a Numpy Array with Arcpy and Numpy and then calculate some statistics on it but ...
1
vote
2answers
2k views

import arcpy failed Python 2.7 with ArcGIS 10.3 64-bit Background geoprocessing RuntimeError: NotInitialized

I want to run a python script that uses arcpy. It was running earlier on a 32-bit machine without problems. On a 64-bit machine I get a MemoryError. The 64-bit backgroundgeoprocessing of ArcGIS 10.3 ...
3
votes
1answer
1k views

Python MemoryError when running ArcGIS Python Toolbox tool

I have a Python Toolbox (.pyt) containing a single tool. Part of that tool is the following function, which creates a dictionary from an attribute table, where the keys are the rows' OBJECTIDs and the ...