Are we put everything in heap? #411
Replies: 3 comments 9 replies
-
Additional, for example, which way below is more efficiently for us?
|
Beta Was this translation helpful? Give feedback.
-
dummy test file as comparing
benchmark testing case
@rootfs , @marceloamaral , @wangchen615 |
Beta Was this translation helpful? Give feedback.
-
This is a very important topic @SamYuan1990! We should fix the heap scape issues in the code, since too much memory in the heap put a lot of pressure in the Garbage Collector. Regarding the Regarding the Prometheus package, what do you mean with "data in collector in fact is not mandatory for us". |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
-
@rootfs , @marceloamaral , @wangchen615
Recently I am adding test case for our package, during the work, I found our code style as create a structure and method of the structure...
If I am right, at run time will put the instance into heap, and as most of our function without return type, hence every data update happens at heap, but not stack?
Beta Was this translation helpful? Give feedback.
All reactions