Out Of Memory
- From: Lorin <Lorin@xxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Fri, 26 Sep 2008 11:51:02 -0700
VB6
Yes I am getting old but in this case it is a VB6 problem.
I get an out of memory error.
I am trying to merge a bunch of data from two hidden ListViews to display in
a msflexgrid.
During the merge process I am loading the grid and that is where the error
occurs.
I think I am going to have to rewrite it all but not sure how to approach it.
Not sure if the is some limit on the grid or VB6 in general.
The row count is ~20,000.
Using MSFLEXGRID from SP6
Should I write the merge data to a file then load the grid or what?
Would it help to remove listview as I write to the grid? From previous
posts it seems that the memory is not reallocated after that.
What is the limit on the grid?
Would VB handle it better if I used string arrays?
Interestingly, the program gives the error message, stops and accepts
commands to work on the existing data although all the data has not been
merged.
Did it do cleanup by itself?
What works best with Virtual Memory? Controls, Arrays or do I have to go to
files?
Suggestions please.
.
- Follow-Ups:
- Re: Out Of Memory
- From: usenetaccount@xxxxxxxxx
- Re: Out Of Memory
- Prev by Date: Re: ASCII Character to Text Conversion
- Next by Date: Re: Out Of Memory
- Previous by thread: VB6: .SetFocus not triggering GotFocus Options
- Next by thread: Re: Out Of Memory
- Index(es):
Relevant Pages
|