Solved

Memory leak - running Business objects from a VB app

Posted on 2000-02-14
4
308 Views
Last Modified: 2008-03-06
We are running Business Objects reports through a VB interface.  
If the user opens several BO reports through the interface and
then exits BO/VB, they get Out of Memory errors if they try to open
other apps (Word comes to mind)

We think VB or BO is not releasing memory when closed. How can we
indentify this for sure and how can we be sure that everything gets released as the custom interface to BO closes?
0
Comment
Question by:quantz
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 2
4 Comments
 

Accepted Solution

by:
SimCity earned 100 total points
ID: 2520405
are you going through each BO report and setting them to "nothing" in the unload event. Many times not setting objects or controls to nothing when unloading a form will cause the program not to release that memory until you restart the system.
0
 
LVL 1

Expert Comment

by:Misledman
ID: 2522455
SimCity is correct, however, I very strongly believe that VB itself has a memory leakage problem that Bill is not telling us about. "Out of memory" happens to me all the time, and only when I run VB for a good while. Save often and reboot regularly is good advice.
0
 
LVL 4

Expert Comment

by:PBuck
ID: 2523515
I had this same problem when a partner of mine was passing me VB5 projects, when I was using VB6.  Other projects worked fine when they are built completely with VB6 or completely VB5.  Ensure there are no VB5 controls being used within your project and verify you are using Service Pack 3 (if you are in control of this)?
0
 
LVL 1

Expert Comment

by:Misledman
ID: 2523547
Excellent observation there PBuck. I've never tried that but I do know that I have some VB 5 controls in my toolbox.
0

Featured Post

Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Introduction In a recent article (http://www.experts-exchange.com/A_7811-A-Better-Concatenate-Function.html) for the Excel community, I showed an improved version of the Excel Concatenate() function.  While writing that article I realized that no o…
When designing a form there are several BorderStyles to choose from, all of which can be classified as either 'Fixed' or 'Sizable' and I'd guess that 'Fixed Single' or one of the other fixed types is the most popular choice. I assume it's the most p…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

732 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question