Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Out of memory on UCase()
Message
De
27/07/2013 16:43:18
 
 
À
27/07/2013 16:25:16
Information générale
Forum:
ASP.NET
Catégorie:
Code, syntaxe and commandes
Versions des environnements
Environment:
VB 9.0
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01579306
Message ID:
01579308
Vues:
50
>Was it a one-time error, or is it reproducible? Was the computer extremely low on available memory at the time?

All other robots process as expected. I also stopped that specific robot and restarted it. It ended up in the same situation. So, I stopped all robots and restarted them all. The situation remains on one specific robot.

The UCase() is only used at those locations:
                ' Get the number of images
                lnOccurence = oApp.Occurs(UCase(lcSearchFor), UCase(lcHtml))

                ' Clear the collection
                oLink.Clear()

                ' Get all the images into the collection
                For lnCounter2 = 1 To lnOccurence

                    ' Get the url of the image
                    lnLocation = oApp.At(UCase(lcSearchFor), UCase(lcHtml), lnCounter2)
It is one of them which is causing the memory issue. My best bet is that it is the first line. lcHtml comes from a MHTML conversion. I assume there is a connectivity issue which is returning a very weird string into lcHtml which would then cause such reaction.
Michel Fournier
Level Extreme Inc.
Designer, architect, owner of the Level Extreme Platform
Subscribe to the site at https://www.levelextreme.com/Home/DataEntry?Activator=55&NoStore=303
Subscription benefits https://www.levelextreme.com/Home/ViewPage?Activator=7&ID=52
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform