简体   繁体   English

如何阻止 Postman 纽曼消费 JavaScript Memory

[英]How to Stop Postman Newman From Consuming JavaScript Memory

How can I stop newman from consuming a lot of JavaScript heap memory.And is there any way to delete the things being put in the memory after each request completes.如何阻止 newman 消耗大量 JavaScript 堆 memory。在每个请求完成后,有什么方法可以删除 memory 中的东西。

I have a number of requests that need to repeat themselves for more than 3000+ times to get all the responses needed.我有许多请求需要重复 3000 多次才能获得所需的所有响应。 So I need to prevent memory leaking.所以我需要防止 memory 泄漏。

So how can I do so?那么我该怎么做呢?

Could you please provide more details on whether you are using any local or global variables in your tests?您能否提供有关您在测试中是否使用任何局部变量或全局变量的更多详细信息? If yes, it would be good to clear after each request如果是,最好在每次请求后清除

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM