Page 1 of 1

Insuffizient memory

Posted: Tue Jul 28, 2015 7:34 am
by anja_laenge
Hi,

we updated to X2 and I am trying to build a SingleFile Setup containing .NET 4.5.2 and SQLExpress 2012.
After the second item to compress the progress stops with the following message:

Compressing install: OFFLINE\mFileBagIDE.dll\249AB32B\PCUSOURCE\redist\VisualStudioShell\VC10SP1\x64\VC_RED.CAB (0%)
Error during build: Unable to build setup files: Insufficient memory

I am using a machine with 16 GB RAM of which at the time of the error 6 GB are used.
What do I have to do to build my setup?

Regards

Re: Insuffizient memory

Posted: Tue Jul 28, 2015 12:30 pm
by FrancescoT
Dear Anja,

the compression process is a very extensive system resources task. This is especially true, when a high compression level is used at project build stage.
Please note that may be possible that your system already has several background processes running and these could have effect on the effective system resource available. In addition the used memory that you are reporting, it's very probably the amount available just after the error has been raised.

I also use a system with 16 GB of RAM, but it's exclusively dedicated to my develop activity and not other applications are installed. Just the various dev tools.
Honestly, I never seen my system to consume such amount of resources as you say.

Anyway, In some case it could be enough to restart the IDE to solve the problem (due the fact that this causes a discharge of allocated system resources). Otherwise, you may try to lower down the compression level assigned with the project.

Hope this helps you

Regards

Re: Insuffizient memory

Posted: Tue Jul 28, 2015 8:52 pm
by rev23dev
I also got this multiple times when I first upgraded to X2, on the same SQL package AND with 16GB RAM. I think I just rebooted, then when right to the build. Luckily you only have to do it once ;)