Opened 16 years ago

Closed 16 years ago

#381 closed defect (invalid)

"Memory allocation failed" error message when applying spatial filter to a sdf dataset

Reported by: jng Owned by: gregboone
Priority: blocker Milestone: 3.4.0
Component: SDF Provider Version: 3.3.1
Severity: 1 Keywords:
Cc: External ID:

Description

Using the .net managed wrappers (FDO 3.3.1)

If you apply a filter to an ISelect from an SDF connection, if that filter has a spatial condition. You will get "Memory allocation failed" message at IFeatureReader::ReadNext() even if you do not touch the actual geometry property of the returned feature reader (eg. Looping the feature reader and doing nothing).

For small sdf datasets, this doesn't happen. But once you go to something like the Sheboygan sample dataset (~17000 features), then it starts to occur.

The "Memory allocation failed" message is thrown from Fdo\Unmanaged\Src\Geometry\Fgf\GeometryFactory.cpp:779

I have attached the following files:

  • Sheboygan_Parcels_MultiKey.zip: The sheboygan parcel dataset in sdf format.
  • Program.zip: Contains C# code to illustrate the problem.

I'm guessing the SDF feature reader is creating geometries to compare against the filter, but the geometries aren't being released afterwards?

Change History (1)

comment:1 by jng, 16 years ago

Resolution: invalid
Status: newclosed

I found out there's more than meets the eye. Closing as invalid for now.

Note: See TracTickets for help on using tickets.