Advertisement

02.21.2008 at 11:42AM PST, ID: 23182331
[x]
Attachment Details

Application takes a long time to release memory

Asked by pjsulin in Visual Basic Programming

Tags: Viasual Basic 6

I have a VB6 application that loads in a file and has to create about 125,000 objects from this text file.  This loading takes about 10 seconds.  When I close the application, it takes about 20 seconds to shutdown and you can see in the Task Manager that the memory allocation for the process slowly shrinks.  For some reason VB6 will not let go of these objects.  I have this library written in .NET as well and it releases the memory immediately when I exit.  How can I force VB to release the memory and shutdown?Start Free Trial
 
 
[+][-]02.22.2008 at 12:13AM PST, ID: 20955427

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.09.2008 at 03:08PM PDT, ID: 21747024

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]06.11.2008 at 12:35AM PDT, ID: 21757627

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.21.2008 at 09:47AM PDT, ID: 22052129

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]07.22.2008 at 01:23AM PDT, ID: 22057214

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]07.24.2008 at 02:44PM PDT, ID: 22083839

Experts Exchange has a courteous staff of administrators who help members get the most out of the website by means of administrative comments like this one.

Start your 7-day free trial to view this Administrative Comment or ask the Experts your question.

 
[+][-]07.28.2008 at 04:12PM PDT, ID: 22107513

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zone: Visual Basic Programming
Tags: Viasual Basic 6
Sign Up Now!
Solution Provided By: Computer101
Participating Experts: 3
Solution Grade: A
 
 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628