Skip to content
This repository has been archived by the owner on Jul 28, 2024. It is now read-only.

Memory not released #375

Closed
125793014 opened this issue Apr 19, 2023 · 1 comment
Closed

Memory not released #375

125793014 opened this issue Apr 19, 2023 · 1 comment

Comments

@125793014
Copy link

Describe the bug / error

Memory not released

What is your Envoy/Istio version?

version1.16

What is the SDK version?

proxy-wasm-go-sdk v0.22.0

What is your TinyGo version?

tinygo version 0.26.0 linux/amd64

URL or snippet of your code including Envoy configuration

Additional context (Optional)

// Override types.DefaultHttpContext.

Execute inside container, wasm memory not released, keeps increasing

func (ctx *httpHeaders) OnHttpRequestHeaders(numHeaders int, endOfStream bool) types.Action {
	if tmp, _ := proxywasm.GetHttpRequestHeader("test"); tmp == "" {
		proxywasm.AddHttpRequestHeader("test", "hello")
	}

	return types.ActionContinue
}
@mathetake
Copy link
Member

Please see the existing issue before raising issues. #349 (comment)

@tetratelabs tetratelabs locked as resolved and limited conversation to collaborators Apr 19, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants