Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Out of memory (Error 7)
Message
From
03/12/2002 11:40:00
 
 
To
All
General information
Forum:
Visual Basic
Category:
Other
Title:
Out of memory (Error 7)
Miscellaneous
Thread ID:
00729037
Message ID:
00729037
Views:
65
Hi,

I get an error from a COM object (VB6) when I run a program. The error states that I am running out of memory ("Out of memory (Error 7)").

The problem is that when I open the task manager and check the memory, it's only approximately half used (I have 256Mb plus 384Mb max of virtual memory). I checked in the help topics to see the different reasons for such an error but none of the explanations corresponds to my present situation. Here is the line that produces the error:
ReDim Preserve p_tAlignment(UBound(p_tAlignment) + 1)
'p_tAlignment' is a private variable and it's a user-defined type.

I also verified the Redim and Preserve commands but nothing was said about maybe having memory problems.

Any ideas?

Thanks in advance, Stephane.
Next
Reply
Map
View

Click here to load this message in the networking platform