You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
circuit_maintenance_parser version: 2.0.4 and later
Expected Behavior
No significant increase in memory consumption when loading the circuit_maintenance_parser library after upgrading from 2.0.3 to 2.0.4
Observed Behavior
Memory usage jumps by over 400 MB after import circuit_maintenance_parser with 2.0.4.
This appears to be due to #104, specifically due to a Geolocator object being instantiated at library load time, which in turn calls tzwhere.tzwhere(), which appears to allocate a large amount of memory.
Steps to Reproduce
python
import circuit_maintenance_parser
The text was updated successfully, but these errors were encountered:
glennmatthews
changed the title
tzwhere.tzwhere() is called at load time, causing substantial memory overhead
tzwhere.tzwhere() is called at import time, causing substantial memory overhead
Nov 30, 2021
Environment
Expected Behavior
No significant increase in memory consumption when loading the
circuit_maintenance_parser
library after upgrading from 2.0.3 to 2.0.4Observed Behavior
Memory usage jumps by over 400 MB after
import circuit_maintenance_parser
with 2.0.4.This appears to be due to #104, specifically due to a
Geolocator
object being instantiated at library load time, which in turn callstzwhere.tzwhere()
, which appears to allocate a large amount of memory.Steps to Reproduce
python
import circuit_maintenance_parser
The text was updated successfully, but these errors were encountered: