Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 642013
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 13, 20262026-05-13T21:07:32+00:00 2026-05-13T21:07:32+00:00

I have a little application which uses regular expressions under VB6. It works perfectly

  • 0

I have a little application which uses regular expressions under VB6.
It works perfectly under XP but under Win7 I’m experiencing massive problems.
Sometimes, when the text which is passed to the regex function is > 20KB, it freezes the application and also the whole Win7 system: it’s getting really slow, almost completely freezes and only after ~30 seconds reacts for a few seconds and freezes again.

Strange thing – event if i terminate the VB6 task under task-manager the whole system remains slow, frozen and unstable. it’s like if it’s running on 100% cpu load although it’s normal. Seems to be a system thing which eats up all resources and the only thing that helps is to reboot.

I’ve already googled but couldn’t find anything. Anyone experienced the same thing / knows a solution? Is there at least some way to terminate the regex function in case it takes too long?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-13T21:07:32+00:00Added an answer on May 13, 2026 at 9:07 pm

    Is the application multithreaded? Did you also upgrade the hardware from a single-core CPU to multicore/multi-CPU?

    Usually, when a regex goes rogue it either causes a stack overflow or goes into an (apparently) infinite loop, but it sounds like that’s not happening to you. The symptoms you describe sound more like a deadlock: multiple threads of execution contending for the same resource.

    There have been some bugs reported against Java’s regex package that turned out to be concurrency related, and nothing to do with regexes per se. The root bug was there all along, but it couldn’t manifest on a single-core machine, even in a nominally multithreaded app. It didn’t get reported until large numbers of users shifted to multicore hardware.

    I’m not suggesting that there’s a concurrency bug in VB6 like there was in Java; more likely it’s in your application. If the app is multithreaded, try eliminating that aspect and see what effect it has. If it’s not, or if this doesn’t help, we’ll need more information; there isn’t much to go on in your original question.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have a problem with a little .Net web application which uses the Amazon
I have been given an application which uses a build.xml file for building purposes.
We have a data streaming application which uses local caching to reduce future downloads.
I have a Windows Service application which uses a Threading.Timer and a TimerCallback to
Note: This may sound dumb. I have an application which uses raw pointers and
I have a simple C# 2008 application which displays a png-picture and handles some
I have the following, very easy to reproduce problem: I'm creating a xaml application
We primarily use an ASP.NET environment at work. Right now I'm building an application
My team is currently working on a substantial update to an existing ASP.NET 3.5

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.