Error while importing modules




After an error during the processing of the project, was trying to import the processed modules.

This has failed.
If the error occurs again, please request help at www.CrunchCode.de.

The error "Not enough memory" can have two causes:


1. The processing generates too many new objects (variables, procedures etc.).

The modules or procedures exceed 64 kB segment limitation
and Excel cannot handle it any more.

Possible remedies:


– Excel project:

– reduce the size of modules by splitting them
  into several smaller modules.

– the same is valid for procedures.

– reduce the number of the "Public" declarations. Try to declare
  as many identifiers as possible as local or private.


– CrunchCode processing level "Changing code structure":

If the option "Line numbering" enabled, then this results
in a significant additional memory requirements!

Avoid, if possible, this function.

– CrunchCode processing level "Camouflaging names/project":

Deselecting the camouflaging of "Numbers, VBA const."
reduces the number of additional declarations.


– CrunchCode processing level "Encrypting strings":

In most cases reducing the number of character strings
to be camouflaged will result in success.
Activate "only selected" and/or
increase the value for "min. length" to exclude a large number
of very short character strings from the camouflage.

Consider excluding additional character strings from being camouflaged by use
of the exclusion criteria in the area "NO ENCRYPTION IF...".

It is possible "NO runtime decoding" is enabled, resulting in
a large number of additional variables that must be declared globally.

If "NO runtime decoding" required,
then activate "use a global array".
Thus all character strings are stored in just one global variable.

Deactivate "Each occurrence = new masked name".
This reduces the number of additional constants generated.

Reduce the number of character strings
to be camouflaged by using exclusion criteria (minimum length etc.).


– CrunchCode processing level "Additional procedures":

If possible, deselect this entire processing level.
Thus, no commands are stored in additional procedures.


2. Physical and virtual memory are not sufficient

Close all files and programs that are not necessary
and start the processing again.
If possible, increase the virtual memory.