Want to win a PS4? Go Premium and enter to win our High-Tech Treats giveaway. Enter to Win

x
?
Solved

Memory leak - running Business objects from a VB app

Posted on 2000-02-14
4
Medium Priority
?
312 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 200 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

Ask an Anonymous Question!

Don't feel intimidated by what you don't know. Ask your question anonymously. It's easy! Learn more and upgrade.

Question has a verified solution.

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

Introduction While answering a recent question (http://www.experts-exchange.com/Q_27402310.html) in the VB classic zone, I wrote some VB code in the (Office) VBA environment, rather than fire up my older PC.  I didn't post completely correct code o…
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…
Suggested Courses

609 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