Hello all,
I recently found that a program I wrote runs out of memory on win98. The changes that I have made recently that may have affected this change are very small. I have only one form that has more then 10 controls on it.
I have a form with 17 checkboxes ( I added one recently ). 7 text inputs, 6 drop lists, a tree view, a couple of image boxes, and a Tab control. That to me doesn't seem like a huge form.
But the only thing I can think that I added was one checkbox to that form.
After that I went over my code with a fine tooth comb and found several large arrays (10-15k) that I had been keeping that were not necessary. I removed those and still it runs out of memory.
What I would like to know from everyone is any tips for lowering memory usage.
For instance I use 3 modules with many public functions and subs would it be better to move these into a form and make them private. or no...
should I move more functions in to modules?
Any tips would be apprecaited.
Thanks
I recently found that a program I wrote runs out of memory on win98. The changes that I have made recently that may have affected this change are very small. I have only one form that has more then 10 controls on it.
I have a form with 17 checkboxes ( I added one recently ). 7 text inputs, 6 drop lists, a tree view, a couple of image boxes, and a Tab control. That to me doesn't seem like a huge form.
But the only thing I can think that I added was one checkbox to that form.
After that I went over my code with a fine tooth comb and found several large arrays (10-15k) that I had been keeping that were not necessary. I removed those and still it runs out of memory.
What I would like to know from everyone is any tips for lowering memory usage.
For instance I use 3 modules with many public functions and subs would it be better to move these into a form and make them private. or no...
should I move more functions in to modules?
Any tips would be apprecaited.
Thanks