Opened 3 years ago

Last modified 3 years ago

#361 new defect

gdal2tiles.py throws memory leak warning — at Version 2

Reported by: Jeff McKenna Owned by: Jeff McKenna
Priority: minor Milestone: 5.0.0 release
Component: MS4W - Python Version: 4.0.5
Keywords: Cc: TC Haddad
Blocked By: Blocking:

Description (last modified by Jeff McKenna)

"swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
  • gdal2tiles works as expected, with the warning displayed
    Generating Base Tiles:
    0...10...20...30...40...50...60...70...80...90...100
    Generating Overview Tiles:
    0...10...20...30...40...50...60...70...80...90...100
    swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
    swig/python detected a memory leak of type 'OSRSpatialReferenceShadow *', no destructor found.
    
  • it is likely that MS4W 5.0 is the first distribution with SWIG 4.1.0 and GDAL 3.4.0, so this may be a new issue
  • associated GDAL ticket filed: https://github.com/OSGeo/gdal/issues/4907

Change History (2)

comment:1 by Jeff McKenna, 3 years ago

Description: modified (diff)

comment:2 by Jeff McKenna, 3 years ago

Description: modified (diff)
Note: See TracTickets for help on using tickets.