My question is simple, but I didn´t find any tool in ArcMap that is able to achieve it. I have a quite large dataset whose features I want to work with. In order to handle the limited capacities of my computer I split the entire working-area (that is, the envelope of all my features) into a grid of size 5km. The idea behind this is that whenever I finish processing one of those grid-cells I can completely release their memory. However my grid-cells still seem to be to big as I still have memory-issues.
So I further thought that I could reduce the grid-size to the size of the biggest feature, that is either the one with the biggest width or height. The area however isn't useful to me, as there are also polygons that are very long but have a small area (street-features for instance).
The problem now is: How do I determine the largest feature to have an indicator for my grid-size? I found some arcpy that extracts the features envelopes:
But now I´m stuck.