Advertisement

06.25.2007 at 06:53AM PDT, ID: 22655540
[x]
Attachment Details

Editbin /LARGEADDRESSAWARE and VB6 applications...

Asked by TTCore in Memory Boosters, Windows Programming

Tags: ,

Hi everyone :)

I have a visual basic 6 executable which uses COM to early and late bind to both C++ and VB6 dlls and at least one of those C++ COM dlls then goes onto bind to several other non COM dlls.

My application is, at times reaching and exceeding the 2Gb default limit per process in XP.  I am in the process of investigating whether i can improve the memory handling to reduce this usage however in the mean time i would like to increase the amount of ram available for this process to >2Gb.

Am i right in saying what i need to do in order to get this to work is to :

a) Turn on the /3GB switch in the Boot.ini file

b) Use Editbin with the switch /LARGEADDRESSAWARE to modify the image header (/LARGEADDRESSAWARE) flag of my executable.

If so, am i right in saying the syntax is as follows:

editbin /LARGEADDRESSAWARE Application.exe

Is there more to it or will my application process space now have access to 3Gb?

This request is rather urgent although an answer on any timescale is still much appreciated.

Thanks :)

Matt :)
Start Free Trial
[+][-]06.25.2007 at 07:41AM PDT, ID: 19355985

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.25.2007 at 07:57AM PDT, ID: 19356135

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.

 
[+][-]06.25.2007 at 08:06AM PDT, ID: 19356233

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

Zones: Memory Boosters, Windows Programming
Tags: editbin, largeaddressaware
Sign Up Now!
Solution Provided By: jkr
Participating Experts: 1
Solution Grade: A
 
 
[+][-]06.25.2007 at 08:16AM PDT, ID: 19356350

Assisted solutions are selected by the member who asked the question as a comment that contributed to their question's solution.

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

 
[+][-]06.25.2007 at 08:31AM PDT, ID: 19356484

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.

 
 
Loading Advertisement...
20080716-EE-VQP-32