Reduce memory usage

Hi.

Could you provide some tips to reduce memory usage? I ma developing a datafield with no bitmaps and I have serious problems with memory peaks; in fact I am getting memory out errors.

I have a large number of variables defined.

Any help is welcome