vgru
asked on
Reducing ram usage
I have a VB app that because of the amount of work it has to do takes a very large percentage of the server's ram which practically brings the server to a halt. Is there any tricks to reduce ram usage in VB. Any help would be great! Thanks!
I agree with Deighton on avoiding public variables and arrays.
I just wanted to note that it's a good practice to free up everything you don't need anymore. I mean objects, escpecially large automation objects and also recordsets.
It would be helpful to know what kind of tasks your program does.
I just wanted to note that it's a good practice to free up everything you don't need anymore. I mean objects, escpecially large automation objects and also recordsets.
It would be helpful to know what kind of tasks your program does.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks!
Avoiding variants where a type like integer can be used is a good one.
Avoid large arrays of public variables etc.