LIBMEM is built in two configurations, the full version and the light version. The only difference between the full and the light versions of LIBMEM is that the light version only supports one installed LIBMEM driver and is compiled with optimization for code size rather than performance. The light version of LIBMEM is therefore useful for situations where code memory is at a premium.

To use the light version of LIBMEM you should link in the light version of the library and also have the preprocessor definition LIBMEM_LIGHT defined when including libmem.h.