[http trace] the http trace view will cause browser memory raise
See original GitHub issueis about http trace problem, in /instances/219a2939eb94/httptrace
view, the browser memory usage will raise and page dead in seconds.
chartData is too big…
so i have make some log output on this loop from traces-chart.vue
,
let i = 0;
for (let time = Math.floor(oldest.valueOf() / interval) * interval; time < now; time += interval) {
i++;
console.log('loop', i);
console.log('loop --- time', time);
console.log('loop --- now', now);
//...
}
i found it is because the timestamp unit of now
and time
is different
so the loop will run many times till the page dead.
the time
is come from server’s httptrace response, something like this…, timestamp unit is second
Issue Analytics
- State:
- Created 5 years ago
- Comments:11
Top Results From Across the Web
TRACE - HTTP - MDN Web Docs - Mozilla
The HTTP TRACE method performs a message loop-back test along the path to the target resource, providing a useful debugging mechanism.
Read more >4 Types of Memory Leaks in JavaScript and How to Get Rid Of ...
In this article we will explore common types of memory leaks in client-side JavaScript code. We will also learn how to use the...
Read more >Capture a system trace on a device - Android Developers
In the Debugging section, select System Tracing. The System Tracing app opens. Alternatively, if you've set up the System Tracing tile, you can...
Read more >High Memory utilization and their root causes | Dynatrace
Increasing memory is the obvious workaround for memory leaks or badly written software. Let's discuss the two most common causes for Java high...
Read more >How do I collect all the data required for troubleshooting AM ...
AM · Agent - /path/to/agent/instances/agent_n/logs/debug directory where the agent is installed. · HTTP trace - from the HTTP trace browser tool.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
i try debug step by step… find out
httptrace.timestamp
is serialized incom.fasterxml.jackson.datatype.jsr310.ser.InstantSerializerBase#serialize
without any
spring.jackson.serialization
config.httptrace.timestamp
is ISO formatwith
spring.jackson.serialization.write-dates-as-timestamps: true
,httptrace.timestamp
is timestamp of second unitwith
spring.jackson.serialization.write-dates-as-timestamps: true
andspring.jackson.serialization.write-date-timestamps-as-nanoseconds: false
httptrace.timestamp
is timestamp of miliisecond unitthree different format will happen🤔
Thank you, I have encountered such a problem…