Fatal error-26000: not enough memory (12320 bytes) for "New Buffer in lrwsrvnettaskit problem solving and LR

Source: Internet
Author: User

When LR is used for daily use, the following message is often reported: action. C (28): Fatal error-26000: not enough memory (12320 bytes) for "New Buffer in lrwsrvnettaskitem: allocsrvnetbuf ". the error of aborting, and when the error is reported, the mmdrv.exe memory usage in the Task Manager increases, and the most popular mmdrv.exe crashes.

Some people on the internet think it is LR's Emulation browser setting problem,

I was instructed by my colleagues to find that the system script was faulty. The original script declared several variables and none of them were used.

Action () {// returned string char resp_txt [200] = {0}; // write stream data long myfile; // the current date and time long now ;.....
... Return 0 ;}

After the three variables are commented out, the problem is solved.

Therefore, we can draw a conclusion that the LR script should pay attention to the memory usage and minimize the variable declaration. For char-type variables, use free in a timely manner:

That is:

Char * A; free ();

 

 

 

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.