Archive: compiler error #12345


compiler error #12345
Can any one help me,i donot how to do.

Generating uninstaller... Internal compiler error #12345: deflateInit() failed(initialization failed [-2]).

Note: you may have one or two (large) stale temporary file(s)
left in your temporary directory (Generally this only happens on Windows 9x).


i compile tow file,one is main.nsi,the other is language.nsh.

I compile small files,less than 2 MB.


You should upgrade to the latest version. Newer versions provide a better error message for this case. It should give a better clue to what exactly happens.


But i'm already the latest version


Oh right, it's the same message for lzma too...

POSIX or Windows?


OK,thanks.

i also find this problem

SetCompressor lzma
SetCompressorDictSize 32

but,why?


Are you copmiling on Windows or POSIX?


Windows


Can you attach a complete minimal example reproducing this error?


i dont know ,but i try it


sorry i cannot


Why can't you upload it?

I'll add some more pin-pointed error messages over the weekend and upload a compiled version so we can find out exactly what happens.


I'm getting the same error and I have MakeNSISW 2.3. What is causing this?


What's the exact error text? Usually this is caused by compressing too much. You can't compress over 2GB. There are some solutions available on the forum and Wiki like CABSetup.


"Internal compiler error #12345: error creating mmap the size of 66564805." I've just started getting this error tonight... and I am using version 2.35.

My last good compile shows the total files' size of this:

Using zlib compression.

EXE header size: 50688 / 35328 bytes
Install code: 50506 / 255498 bytes
Install data: 257573050 / 823940028 bytes
Uninstall code+data: 61150 / 65510 bytes
CRC (0x28EC9E5C): 4 / 4 bytes

Total size: 257735398 / 824296368 bytes (31.2%)
(257MB compressed, 824MB raw). I've rebooted and it is still failing. The last change I made was 200 lines below the line where it now fails.

What do I do ??

Edit
Oooofff! Sorry for panicing so quickly. I had run too low on disk space. When I deleted some of the iso files I'd been creating, the error went away.

Don :o

fwiw - I just got this error as well.. plenty of disk space, but..
1. RAM was almost all used
2. pagefile was disabled, so nowhere to swap to