[ https://issues.apache.org/jira/browse/SPARK-52229?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Weichen Xu updated SPARK-52229: ------------------------------- Description: Improve model size estimation: For models which contain `modelSummary`, we shouldn't count the `modelSummary` size when counting model size, because the `modelSummary` contains `sparkSession` reference and `SizeEstimator` will repeatedly count the same sparkSession size for different models and cause huge errors. was:Improve model size estimation > Improve model size estimation > ----------------------------- > > Key: SPARK-52229 > URL: https://issues.apache.org/jira/browse/SPARK-52229 > Project: Spark > Issue Type: Sub-task > Components: Connect, ML > Affects Versions: 4.1.0 > Reporter: Weichen Xu > Priority: Major > > Improve model size estimation: > > For models which contain `modelSummary`, we shouldn't count the > `modelSummary` size when counting model size, because the `modelSummary` > contains `sparkSession` reference and `SizeEstimator` will repeatedly count > the same sparkSession size for different models and cause huge errors. -- This message was sent by Atlassian Jira (v8.20.10#820010) --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@spark.apache.org For additional commands, e-mail: issues-h...@spark.apache.org