Memory shortage problem with VB 5.0. Help! Help!!
Posted on 1998-10-30
I am having a serious problem with VB 5.0, please help!
There are one SSTab control that contains 10 tabs, and 3 dialog boxes in my project.
The SSTab and 3 dialog boxes contain total approximately over 800 controls that are put in various arrays of controls (text box, combo box,check box, list box, command button, option button). Also, the project contains 5 file
when this project is opened, I got a message says "Out of Memory". I couldn't run it and do anything on it.
In my computer, the RAM' capacity is 84 MB. I checked resource meter in system tools (Windows98). Before opening the project, System free memory is 85%, User free memory is 85%, and GDI is 86%. However, as soon as my project is opened and the forms are loaded, the System free memory is only 7%, User free memory is 7% and GDI free memory is 85%. A warning message shows ou and says that " more than 90% of resources has been using and the project should be terminated. It is not enough to support rest of my work on the project.
I believe there must be some ways to avoid such situation, but I have no idea about it.
Could anybody give me a hint to solve this problem?
Thank you in advance!