GeometryCursor:: estimateMemorySize
See original GitHub issueSimilar to #156, we would like to investigate whether it’s possible to add a similar API to GeometryCursor
to enable us to estimate the memory size for long running operations involving GeometryCursors. For example, it would be nice to get a point in time estimate of how much memory OperatorUnionCursor
is using, for similar reasons as stated in #156.
It would have the same signature as what is found in OGCGeometry:
GeometryCursor unioningCursor = OperatorUnion.local().execute(input, null, null);
// ...
System.out.println(unioningCursor.estimateMemorySize());
Are there any objections to adding such an API?
Issue Analytics
- State:
- Created 5 years ago
- Comments:6 (3 by maintainers)
Top Results From Across the Web
in-process .da searchcursor question - Esri Community
I have a script that uses the arcpy.da.SearchCursor method. I am using v10.1 SP1. The script basically runs the SelectByLocation tool in a ......
Read more >In Java, what is the best way to determine the size of an object?
I mean to say all the object REFERENCE needs only 4 bytes of memory. It may be String reference OR Double object reference,...
Read more >Data access using cursors—ArcGIS Pro | Documentation
A cursor is a data access object that can be used to either iterate over the set of rows in a table or...
Read more >PL/SQL and Oracle database instance memory - LinkedIn
PL/SQL supports its own “session cache of cursors”, i.e. it decides when which cursor should be released. The maximum number of cursors in...
Read more >Femap Tips and Tricks
Max VBO MB – FEMAP will determine how much RAM is available on the graphics card, then allow you to choose how much...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@tdcmeehan Could you explain the pattern how you are planning to use this?
Maybe you should do external batching. For anything large you may want to batch geometries spatially.
The pattern is essentially the same as ST_Aggr_Union. I’ll do the batching outside of the library. Thanks!