[
https://issues.apache.org/jira/browse/BEAM-4852?focusedWorklogId=126948&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-126948
]
ASF GitHub Bot logged work on BEAM-4852:
----------------------------------------
Author: ASF GitHub Bot
Created on: 24/Jul/18 23:11
Start Date: 24/Jul/18 23:11
Worklog Time Spent: 10m
Work Description: lostluck opened a new pull request #6052: [BEAM-4852]
Only read symbol table when required.
URL: https://github.com/apache/beam/pull/6052
Beam Go currently always reads in the symbol table on init, but it's not
always necessary. Changing to initialized it on first use.
-------------
- [X] Format the pull request title like `[BEAM-XXX] Fixes bug in
ApproximateQuantiles`, where you replace `BEAM-XXX` with the appropriate JIRA
issue, if applicable. This will automatically link the pull request to the
issue.
- [ ] If this contribution is large, please file an Apache [Individual
Contributor License Agreement](https://www.apache.org/licenses/icla.pdf).
It will help us expedite review of your Pull Request if you tag someone
(e.g. `@username`) to look at it.
Post-Commit Tests Status (on master branch)
------------------------------------------------------------------------------------------------
Lang | SDK | Apex | Dataflow | Flink | Gearpump | Samza | Spark
--- | --- | --- | --- | --- | --- | --- | ---
Go | [](https://builds.apache.org/job/beam_PostCommit_Go_GradleBuild/lastCompletedBuild/)
| --- | --- | --- | --- | --- | ---
Java | [](https://builds.apache.org/job/beam_PostCommit_Java_GradleBuild/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Apex_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Dataflow_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Flink_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Gearpump_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Samza_Gradle/lastCompletedBuild/)
| [](https://builds.apache.org/job/beam_PostCommit_Java_ValidatesRunner_Spark_Gradle/lastCompletedBuild/)
Python | [](https://builds.apache.org/job/beam_PostCommit_Python_Verify/lastCompletedBuild/)
| --- | [](https://builds.apache.org/job/beam_PostCommit_Py_VR_Dataflow/lastCompletedBuild/)
</br> [](https://builds.apache.org/job/beam_PostCommit_Py_ValCont/lastCompletedBuild/)
| --- | --- | --- | ---
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
Issue Time Tracking
-------------------
Worklog Id: (was: 126948)
Time Spent: 10m
Remaining Estimate: 0h
> [Go SDK] Beam should not retain the symbol table after function resolution
> --------------------------------------------------------------------------
>
> Key: BEAM-4852
> URL: https://issues.apache.org/jira/browse/BEAM-4852
> Project: Beam
> Issue Type: Improvement
> Components: sdk-go
> Reporter: Robert Burke
> Assignee: Robert Burke
> Priority: Major
> Time Spent: 10m
> Remaining Estimate: 0h
>
> In some instances, Beam Go requires introspecting the symbol table for the
> binary to resolve functions. However it may be possible to cache these
> results for all applicable functions, and then allow the table to be garbage
> collected.
> The table represents a large heap cost that is retained for the lifetime of a
> job.
> A secondary goal would be to avoid incurring the cost entirely when there's
> nothing to look up for a job. Eg for unit tests, or ancillary uses of the
> beam SDK (eg. migrating from some other system to beam shouldn't incur the
> cost when the old system is being used, just because beam is linked in and
> triggered by a runtime switch).
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)