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 ();