Solved

Memory leak - running Business objects from a VB app

Posted on 2000-02-14
4
306 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
  • 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

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VBS file using code from 2nd file (txt or vbs) 4 36
Passing a Text Box name to a Sub 6 96
how to know if my Checkbox is True in VB6.0? 9 54
Problem to With line 4 57
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…
Article by: Martin
Here are a few simple, working, games that you can use as-is or as the basis for your own games. Tic-Tac-Toe This is one of the simplest of all games.   The game allows for a choice of who goes first and keeps track of the number of wins for…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

808 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