Comments (2)
Thank you Anuraag for the quick response!
This works great now!
From my load testing result, the memory usage of Istio(that uses the default GC) increases linearly along with the traffic volume.
After replacing the gc and malloc with nottinygc, I didn't see too much CPU increment, but the memory usage will be stable at some level no matter how much the traffic volume is. This is brilliant!
Appreciate your help again!
from nottinygc.
Hi @MengjiaLiang - thanks for the question. This is a known issue with Envoy which I have just added docs for, I think that should fix it for you
https://github.com/wasilibs/nottinygc#using-with-envoy
For context, it is the same approach we use here
https://github.com/corazawaf/coraza-proxy-wasm/blob/main/init_tinygo.go#L14
from nottinygc.
Related Issues (14)
- browser support? HOT 22
- Can I use malloc? HOT 4
- nottinygc memory leak with fastcache HOT 2
- invalid flag: --export=malloc HOT 2
- --export=malloc --export=free cause memory leak HOT 3
- Getting integer divide by zero error HOT 2
- Question: Does the gc execute before the `proxywasm.DispatchHttpCall` callback executes ? HOT 20
- Memory leak exists, should use GC_malloc_ignore_off_page when alloc large object. HOT 18
- Getting integer divide by zero error when use compress/gzip HOT 3
- error: Linking globals named 'runtime.SetFinalizer': symbol multiply defined! HOT 5
- There may be a memory leak when processing memory blocks containing non-ASCII characters. HOT 4
- Wasm VM failed Failed to initialize Wasm code HOT 3
- can nottinygc support wasm? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from nottinygc.