|
-
Jul 25th, 2002, 03:55 PM
#1
Thread Starter
Hyperactive Member
VB and Memory!!!
Hi guys,
Back here after a long time. Have been really busy.
Lets get straight to the point.
Recently I developed a Point of Sale Application which would be used on various Windows OS.
One of the locations that uses Win 98 on an AMD K6 machine with 32MB RAM, has been complaining about the software getting stuck without any message right when they try to close a sale.
It happens occassionally and not for any specific reason.
After a lot of trying, I could figure out that the system is running low in resource and that somehow causing the machine to hang.
Its a simple application that starts with about 7MB of Memory.
I was trying to find how much Memory it takes when the Forms are opened and closed. Surprisingly, every single action causes the Application to use more memory, and when the Forms are closed, the memory is not completely released by the Application. So by the time I made two sales and did some more stuff with the Application, it was using more than 13MB of Memory!
Yes, I took every caution to release objects I created in the Application. Recordsets are implcitly closed before they are destroyed and so on. Its an object oriented design and everything is done through interactions of objects.
I can replace the old systems with more memories, but...
What do you think guys?
Abu Haider
____________________________
100% Data Validation for the MS DataGrid Control. Plus Support for Custom and Foreign Lists, DatePicker and much more...
The DataGridEnhancer
I often point to a place where the problem has been discussed, instead of giving you the code that solves it. This is for good, may be you will understand some day...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|