Wilson WindowWare Tech Support

WinBatch WinBatch+Compiler WebBatch
Home | Tech Database | Tech BBS | White Papers | Purchase


Could Not Allocate (or lock) Work Buffer

Keywords: 	 Could Not Allocate (or lock) Work Buffer

Question:

What does this mean?
   Could Not Allocate (or lock) Work Buffer
I see it occasionally when I reopen a file that has had no activity for a while. For example, Winbatches work on Friday, but when we start work on Monday and open the file and try to run, I see this error Message.

I can go back to an earlier version of the script and then I don't see this error. Could it be that we might be having problems on the server where we keep these files. Could these be corrupt files? Please help!

Answer:

Somewhere in the code where we allocate the buffer to load and pre-process the script, it's running out of system memory.

I suspect it's the problem with an #include directive pointing to a nonexistent file, which was fixed a while ago. Download the latest version of Winbatch and see if that fixes the problem.


Article ID:   W14588
Filename:   Could not Allocate (or lock) Work Buffer.txt