Archive: Out of memory warning


Out of memory warning
Hi,

I get out of memory warning from HM NIS Edit 2.0.3. What could be the reason for the warning.How can I reslove this.

Thanks
Rikkov


I have used NIS Edit 2.0.3 for years and never seen this error, maybe you really are out of memory? =) When do you get this error? on startup? dialog editor? Anyway, the project seems pretty dead so even if you are able to narrow it down, it is probably not going to get fixed


I have seen this warning before. I think it happens because makensis output is too long to fit in the HM NIS Edit log window. Apparently HM NIS Edit log uses a fixed size buffer.

To solve the problem you could simply use makensis directly to compile you script or reduce the script verbosity level with !verbose command.

E.g. If you have macros that are called repeatedly it's a good idea to reduce the verbosity.

!macro mymacro
!verbose push
!verbose 1

...

!verbose pop
!macroend


PaR

Thanks a lot for the replay.....I am using makensis now and that solved my issue