WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Compiler
plus
plus

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

Compiler Source File Limit

 Keywords:  error 1126 Binaryalloc could not allocate limitation Winbatch+Compiler compiler binary buffer 

Question:

Is there a limit to the size of file that WinBatch will compile?

Answer:

Ummm. Well, yes. If you are having a problem, I suspect the problem is more the "other files" that you might add to the compiled exe causing the issues.

In any case there is a theoretical 2GB limit by the standard memory addressing model that WinBatch uses. However other demands on WinBatch make the largest binary buffer that can be allocated to be about 800MB Being able to get that depends on how much physical RAM and your paging file size.

The compiler itself should be able to handle pretty much any file size that you could code in your lifetime.

However adding extenders and "Other files" can easily increase demands on memory and could cause an issue.

If you are getting an error from the compiler then make a c:\WBCDEBUG.LOG file and run compiler from command line by

wbcompiler,exe "c:full\path\dasrc,wbt" DEBUG
and a debug trace file will show up.
Article ID:   W17386
File Created: 2008:04:10:15:09:06
Last Updated: 2008:04:10:15:09:06