| |

VerySource

 Forgot password?
 Register
Search
View: 1378|Reply: 2

AJAXPro memory leak / overflow issue in vs

[Copy link]

1

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-3-10 12:30:01
| Show all posts |Read mode
Recently, a project needs to use the ajaxpro framework. There is a program like this. The client sends a request to the server every second to obtain the content in the database (that is, fetching data without refreshing / 1 second). There is no problem in implementing the function, but in When the unit test found that the page's IE process memory usage increased by 10-20K per second, then it increased by 1M in 1 minute and 60M in 1 hour. This is very scary. BAIDU, it was found that it was a memory overflow, and no solution was found. , I hope ajaxpro masters give answers!
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-1 10:15:01
| Show all posts
After the method is executed, is it released? I have encountered this situation before. My solution is to put the refresh method of setting the time after the release of the Ajax callback function.
Reply

Use magic Report

0

Threads

1

Posts

2.00

Credits

Newbie

Rank: 1

Credits
2.00

 China

Post time: 2020-8-27 22:00:01
| Show all posts
After using the objects in the code once, set varname = null; IE should not be able to do so.
Reply

Use magic Report

You have to log in before you can reply Login | Register

Points Rules

Contact us|Archive|Mobile|CopyRight © 2008-2023|verysource.com ( 京ICP备17048824号-1 )

Quick Reply To Top Return to the list