Skip to content
⌘ NSIS Forum Archive

compiler error #12345

16 posts

CuteBird_HL#

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).
CuteBird_HL#
i compile tow file,one is main.nsi,the other is language.nsh.

I compile small files,less than 2 MB.
kichik#
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.
kichik#
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.
kichik#
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.
demiller9#
"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 😳
Animaether#
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