Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of memory (Error 7)
Message
De
03/12/2002 11:40:00
 
 
À
Tous
Information générale
Forum:
Visual Basic
Catégorie:
Autre
Titre:
Out of memory (Error 7)
Divers
Thread ID:
00729037
Message ID:
00729037
Vues:
66
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.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform