Best memory management method

sjn78

Junior Contributor
Joined
May 4, 2003
Messages
255
Location
Australia
Without doing too complex procedures to clear memory, what would be the best way to do the following to reduce memory usage.

Would creating the data adapters and sources in a module where I can access them throughtout the app be better than creating them each time I need them and then disposing of them?

I have tried doing it in a module so i can call it when I need them and when compared to creating the adapter and source in each instance I use them, the memory is less for using the module.

I would of thought that only creating the adapters and then disposing of them where I needed them would use less memory.

Any comments of suggestions would be great

Steve
 
Back
Top