Large address aware in MFC c++ components

Hello,
We have 32-bit c++ application that uses MFC components of the Measurement Studio 8.6.1.465. IDE is Visual studio 2008.
The application requires more memory above 2GB and that can be achived by making the application large address aware (/LARGEADDRESSAWARE).
Does the MFC components of the Measurement Studio 8.6.1.465 support the large address aware application development?

Hi Mobiux
The large address aware status is based on the environment used to compile the SimpleUserInterface.exe file you are using.  In the case of the LabVIEW and CVI versions, the UI will be large address aware if they were created in LabVIEW 8.5 or later; or in CVI 8.1 or later.  For TestStand 4.2 and later, the Interfaces are compiled in this version, but I would recommend opening the source for the UI you are using and recompiling just to be sure.
Al B.
Staff Software Engineer - TestStand
CTA/CLD

Similar Messages

  • Windows 8: Is it normal for system processes to allocate large address spaces?

    I have noticed in Windows 8 that the system processes, such as services.exe, svchost.exe, winlogon.exe, etc, tend to accumulate large address spaces. See attached picture. Is this normal? I generally look for this kind of behavior to detect memory leaks,
    but it doesn't seem like a leaking issue.  The virtual size goes to just under 2GB and then stays there. This is on 64-bit systems.

    Hi Henri,
    that seems to be an artifact of Control Flow Guard feature of Windows 8.1 Update 3 and Windows 10.
    See How Control Flow Guard Drastically Caused Windows 8.1 Address Space and Behavior Changes for technical details, and Visual
    Studio 2015 Preview: Work-in-Progress Security Feature how to use it. There are more articles on the subject like Exploring
    Control Flow Guard in Windows 10.

  • Mail: Large address groups

    Is there a way to make a large group of e-mail addresses easily? (i.e. - around 50 e-mail addressses of newsletter subscribers) I don't want to make a card for each address, but need to be able to send bulk e-mail out. (By easily, I am referring to Outlook Express 5, where you can copy and paste a list of 50+ addresses in one copy/paste movement out of Excel and into the address list).

    No, Address Book doesn't currently support something like this. It only has group support which requires creating a card for each person.

  • /3 Gb switch, Windows Server 2003 and no imagecfg.exe!

    The Imagecfg tool is not provided in the support toolkit for Windows Server 2003. How do I then implement the /3 Gb switch for oracle.exe and tnslsnr.exe as has been recommended in Metalink notes 116076.1 and 46001.1?
    Also does this not appear a bit confusing:
    Note 1036312.6 states:
    On Windows NT Server, Enterprise Edition 4.0, Microsoft provides the 4GT (4GB
    RAM Tuning) support so an application can utilize up to 3GB virtual memory
    instead of the 2GB limit as it used to be.
    The Windows NT service pack 3 provides the same feature but is not officially
    claimed in the SP3 readme.txt.
    The Oracle 8.0.3 release and higher have already been enabled to take
    advantage of the new feature.
    However a more recently updated note (46001.1) states:
    d) Configuring the Oracle process to make allocations greater than 2GB
    The Oracle database supports the 4GT tuning feature of Windows NT Server,
    Enterprise Edition from release 7.3 onwards, allowing it to access up to 3GB
    of virtual address space per instance. It may be the case that certain
    releases / patch sets do not have the 4GT flag set even though the release
    does support the feature. To check the executable has been correctly enabled
    run :
    imagecfg oracle.exe
    oracle.exe contains the following configuration information:
    Subsystem Version of 4.0
    Image can handle large (>2GB) addresses
    Stack Reserve Size: 0x100000
    Stack Commit Size: 0x1000
    For executables that do not have the flag set, run :
    imagecfg -l oracle.exe
    The above settings will only take affect if the boot.ini has been set up as
    described in Note 46053.1.
    So, do we really require to run the imagecfg utility (which is no longer provided in 2003 server support tool package) for versions higher than 8.1.7? Which tool should I then use instead of imagecfg for Windows Server 2003?

    I think one of the reasons behind those Notes is that in older releases support for the feature existed and despite 7.3.4 or 8.0.3 and onwards had the capabilities, some patch sets or patches "forgot" this. The first Note you references says
    "There may be a case where you are running 8.0.4.3.7 on NT and the 3gig address issue required the use of imagecfg to access the larger address space. One major reason might be the fact that patch sets may have brought in an executeable without the flag being set."
    Sometimes it can be really hard to get notes on metalink to add upp, maybe mostly because there is so much info to maintain and cope with...
    I dont think you should worry much about it. In any case, the developer/vendor who controls the code need to make sure the program is in reality large address aware and set flags accordingly.
    If you want to check, to report something back to Oracle Support, there is dumpbin.exe to verify image header available in Visual Studio. Dont know of a public alternative.
    http://msdn2.microsoft.com/en-us/library/c1h23y6c.aspx

  • Photoshop cs 5 misreading RAM memory

    Not feeling happy about my new PC and how plugins behave (time-wise) I decided to add another 8 Gig RAM memory to my 4 totaaling 12G. I thought this would make stuff got at super speeds but to my surprise it actually fel slower.
    I went to --> Preferences --> Performance and checked my meory useage and my problem seemed obvious. That is Photoshop does not show that I have added memeory and thinks I only have 4 Gigs. How can this be? How can I let Photoshop know I have more memory than what it thinks I have?
    Thanks in advance
    mich
    OS: Windows 7 Premium 64 bit
    Photoshop CS5 32/64 bit

    Kitadobe
    I think you have your information slightly off base.
    Puts on his geek hat:
    A 32-bit processor uses 32 bits to refer to the location of each byte of memory. 2^32 = 4.2 billion, which means a memory address that's 32 bits long can only refer to 4.2 billion unique locations (i.e. 4 GB).
    In the 32-bit "Windows" world, each application will get a “virtual” 4GB of memory space.
    That means that each application will functions as if it has a flat 4GB of memory. The system's memory manager tracks what applications are using which memory, page file management, Etc
    Now we will come to the infamous "i have 4 gigs of ram in windows but only see 3.5 gig" or some other memory ammount.
    This falls right back on the fact that 32 bit OS can only address 4 gigs of Physical memory. Well.. then why do you not see all 4 gigs.  cause your video cards have memory too! In order to address the memory in the video cards, it lowers the total physical ram ammount by how ever much video ram you have.
    Now onto the point i think you where trying to make. On a 32 bit OS side of things the 4 gigs of "virtual" memory space is devided in half. 2 gigs for the kernal and 2 gigs for the application its self.
    Now in a 64 bit OS a 32 bit Application will use 2 gigs by default, however if the application is large address aware it is capable of using the full 4 gigs that a 32 bit application can address.
    CS5 is large address aware and the max you can set the memory limit to in cs5 32 bit on a 64 bit OS is 3255 MB Just over 3 gigs.

  • The application failed to initialize properly 0xc0000142.

    I installed Labview and TestStand 2012 SP1 on my computer. At the beginning it seemed everything was good, but after a couple of hours I tried to launch another application from TestStand and I got this message: The application failed to initialize properly 0xc0000142.
    Now each time that I want to launch TestStand the message come up.
    How can I fix this issue?
    My OS is Windows XP
    I uninstall and reinstall everything many times.

    Grey88 -
    1) What TestStand application are you running when you get this failure; sequence editor or a user interface?
    1a) If a LabVIEW user interface, what version of LabVIEW are you using?
    1b) If the sequence editor, does any portion of the UI show before the error occurs?
    1c) Do other applications from TestStand work OK?
    2) Just wanted to explicitly confirm that you rebooted the system after changing the ini file to test the issue?
    3) For the boot.ini change, does the problem still occur if you change the value to 2048 (2GB)? I suggest to try this because applications that are not Large Address Aware (LAA) in general should not be using more than 2GB of memory. The sequence editor does not support LAA until TestStand 2013 so the OS should restrict it from accessing > 2GB. On the other hand LabVIEW started enabling LAA on its executables in an earlier version.
    Scott Richardson
    National Instruments

  • Deployment Utility Errors

    Hi,
    We're having a problem with building an installer using the TestStand Deployment Utility. We added some sequence files, VIs and image files to an existing installer and now it doesn't work.
    Below is an extract from the log file:
    Internal error code -2147023170 Processing VIs...
    Could not process LabVIEW VIs. Fix any broken VIs before rebuilding. LabVIEW error:
    The remote procedure call failed.
     in Dynamically Call Build VI Distribution LV 8.6 or Above - TestStand.vi->TestStand - Call Build VI Distribution for Unique VI Hierarchies LV 8.6 or Above.vi->TestStand - Package VIs.vi->TestStand - Build.vi->TestStand - Distribution Wizard GUI.vi->TestStand - Deployment Utility Splash Screen.vi
    An installer was not created due to an error
    The build process is done.
    9:19 AM
    Aborted
    If we split it into 2 installers, with the majority of the LabVIEW VIs in one and the rest of the code in the other both installers build properly and when installed on another PC everything seems to work as expected.
    We have mass compiled all of the VIs, and opened and re-saved all of the new ones. We also tried adding more memory to the PC as we wondered if the installer was just too big (there are over 2000 custom VIs) but that didn't help.
    We are using LabVIEW 2009 and TestStand 4.2.1.
    Any suggestions would be greatly appreciated!

    CJames,
    The error message you are getting means that the connection from the Deployment Utility to LabVIEW was broken unexpectedly, probably because LabVIEW had some problem it could not recover from. From your investigation it seems like the problem is that your deployment is so big that LabVIEW is running out of memory while deploying. There are several ways you can fix or mitigate this problem.
    The easiest way would be to set the /3gb switch which makes LabVIEW run in large address-aware mode. For more information please read this KB. This will allow LabVIEW to use more virtual memory and it should allow the build to complete, however, this is only a temporary solution because if your project continues growing there will come a point where even this new amount of memory will not be sufficient. 
    Another thing you can do from the architectural point of view is splitting your VIs into different projects (and calling the VIs in the context of a project from within TestStand). The Deployment Utility will create a different deployment for every project, which means that some of your VIs which are currently being loaded together while deploying would not be loaded together anymore. This, however, is more complicated because you have to make sure that the VIs are not part of the project anymore (that is, they are not dependencies which would include them anyway) and you have to make sure that they are divided in logical groups. 
    Hope this helps,
    - Francisco

  • TestStand Execution and Thread Limits?

    Is there a limit to the number of executions and threads that TestStand can support?  If not, what is the "practical" limit of Test Sockets for a modern PC running 64-bit Windows?  I understand this is a pretty broad question that is probably based upon the contents of the sequences along with the PC resources (RAM, CPU).  However, I am curious to find out what would be suggested/experienced.
    I am looking at implementing "monitoring" ten to hundreds of signals on a system in parallel.  The loop rate for each signal read is specified in a configuration file that can change at runtime.  To implement this in TestStand, a sequence in a new thread would be required for each unique loop rate (signal monitor).  This would possibly create hundreds of threads under an execution.
    Any advice would be appreciated!
    Thanks
    CLA, CTA

    There will be a limit... probably when you run out of free memory blocks of a sufficient size. This will vary according to what modules are loaded, what has been allocated and freed at what locations, whether large address awareness is enabled, etc. Your best bet is to test how many TestStand threads you can create in your system within an application that is as close as possible to your desired application and then estimate the reliably obtainable maximum number threads as a fraction of that.

  • 32 bit Host running on 64 bit machine

    Hi All,
    I am running biztalk on 64 bit computer. I know we can configure 32 bit host on 64 bit computer.
    My question is  will there be any negative impact or performance hit? Can this configuration create any issue in future?
    Thanks

    First the impact on usage point of view,
    running
    FTP adapter, POP3 adapter, and MIME Decoder on 64-bit host instances is not supported. So you got to have 32-bit host instance configured for these adapters.
    You don’t have option, so no performance comparisons if you want to use host instances on these adapters.
    FYI, SQL adapter in BizTalk 2013 and R2 does support 64-bit. This was the case until BizTalk 2009. Things have changed from BizTalk 2010 onwards (I think change happened in BTS
    2010, I am sure SQL adapter is supported in 64 in BizTalk 2013/R2). Reference:
    http://technet.microsoft.com/en-us/library/aa560166.aspx
    For all other adapters and processes:
    Since you’re checking the performance impact of 32-bit host instances in 64-bit product, it’s better to understand the background and its impact in BizTalk process.
    On Windows x64, 32-bit host instance under WOW64 and may utilize the full 4GB of virtual memory i.e  4 GB can be addressable ((2^32) in BizTalk
    application which is "large address aware" app. On this 4 GB, 2GB are allocated for applications handles (user mode), and 2GB for the Kernel handles –OS. However, 32-bit applications may not be able to
    create as many threads under WOW64 as they can when running natively on x86-based systems because WOW64 allocates an additional 64-bit stack (usually 512 KB) for each thread. In addition, some amount of address space is reserved for WOW64 itself and the data
    structures it uses. The amount reserved depends on the processor; more is reserved on the Intel Itanium than on the x64 processor. There is an impact when you compare 32 bit process in 64-bit.
    Having said this, the 4GB of virtual memory allocation is just for one host instance, But with host instance design you can have more than one host instance and allocate
    BizTalk process to different host instances based on expected load. So any performance impact due to the fact “32-bit host in 64-bit” is low and manageable with correct host instance allocation design.
    Reference:
    Performance and Memory Consumption Under 32-bit in WOW64. 
    If this answers your question please mark it accordingly. If this post is helpful, please vote as helpful by clicking the upward arrow mark next to my reply.

  • Delivery address for Components

    Hi,
    I have maintained different Partners in my Service Order SH(Ship to Party) , SP(Sold to Party)etc..
    My Service Order Header Contains Sold to Party in Customer address tab.
    When i enter a Non stock component & Click on "Delivery Address" icon present in the components tab, the address gets defaulted to Sold to Party(SP). Is there any way by which we can default the Delivery address to Ship to Party(SH)? Pls suggest.
    Regards,
    Karthik

    karthik
    Define Access Sequence for Determining Address Data in the IMG can set the sequence of priority of selecting the delivery adress between
    Order
    Notfn
    Fn Lcn
    Equipment ,Ordering party & Goods recipient
    In standard setting already it might be sequenced with Order address as highest priority
    But adding to that you want to bring SH partner function instead of SP ,so in OIOM setting you can set the customer as SH to bring delivery address from Ship to party
    Regards
    Satish

  • Large Contact Address Book Question

    Hello...
    Does Google or the Pre have a max size on contacts? I ask as I have a very large address book at over 8,000 contacts that I had on my Treo 700P. I used the Data Transfer Assistant and only seemed to get as far as the letter "U".
    I am taking a guess that the Pre has a max of 8,000 contacts. Can anyone verify that they have chosen the Google option for sync and they have more than 8,000 contacts?
    Thank you,
    Post relates to: Pre p100eww (Sprint)

    Hi.  Following up on this answer, & to confirm:  This is the only way to get rid of duplicate info that is stored in the Palm Profile, correct?  When I first ran DTA, from my Palm desktop, I hadn't realized just how many duplicates there were.  I'm now cleaning up those contacts, in the old Palm Desktop (actually, in ECCO, an old PIM that works w/ Palm Hotsync, & now MotionApps Classic).  However, I understand that if I run DTA again, I'll simply be adding another set of contacts, albeit w/ no dupes, into what's already stored in the Profile, w/ all of its many dupes.  So, the only answer is to wipe the Pre, after deleting the Backup?
    Also, a tip gleaned elsewhere:  for Windows XP users, MS Synctoy, http://www.microsoft.com/downloads/details.aspx?Fa​milyID=c26efa36-98e0-4ee9-a7c5-98d0592d8c52&Displa​...   allows one to create & maintain an exact copy of two directories & associated subdirectories, across drives.  So I have created an exact duplicate (Have I?  Is anything missing) of the palm Pre on the root directory of my C-Drive (had to put on the root directroy, b/c some of the Palm Pre subdirectory names are so long),  which I run manually, but which should allow me to restore all missing data files (i.e. photos, docs, & videos, not settings & such, which are buried in files which I can't figure out) after the wipe.
    Please advise me if there's a problme w/ the above.  Thank you!

  • Layout with 2 components on oposite sides of JFrame

    Hello all,
    I feel like I'm missing something really obvious, but I've been trying to layout a JPanel which extends the whole width of my JFrame and contains a button on either side. i.e.
    left frame edge-> | |button| <empty space here> |button| | <-right frame edge
    I'm pretty sure I could pull this off with SpringLayout, but I need to support Java 1.3.1 in this app.
    I'm also pretty sure that I could do something like this:
    JPanel leftSide = new JPanel( new FlowLayout( FlowLayout.LEFT ) );
    leftSide.add(new JButton("left") );
    JPanel rightSide = new JPanel( new FlowLayout( FlowLayout.RIGHT ) );
    rightSide.add(new JButton("right") );
    CustomSizeAwarePanel magic = new CustomSizeAwarePanel( parentComponent, new BorderLayout() );
    magic.add( leftSide, BorderLayout.WEST );
    magic.add( leftSide, BorderLayout.EAST );where CustomSizeAwarePanel is aware of the parent Components width and resizes itself appropriately.
    ... but I have the nagging feeling that there is an easier way to do this.
    thanks all,
    Steven

    Thanks for the thoughts!
    I have used GridBag extensively in the past and didn't even consider that it would do what I was looking for. Ironically enough, I even have my GridBagHelper classes laying around which could make this a little easier. :)
    I was just typing in psuedo code and fouled up by not specifying the right button. The problem I was having with Border Layout was that the parent component (holding the two buttons) would resize itself to be as small as possible, squishing the two buttons in the middle of the screen. I played around with putting an extremely large component in the BorderLayout.CENTER, but that did not size correctly.
    What I ended up with was implementing the 'magic' class that resized itself to the parent components width and the child components height. This seems to be working well, but if anyone sees issues....
    Anyway, The code is worth a thousand words...
    //simple calling code
         JPanel customPanel = buildCustomByPanel();
         //You need to pass in the tallest component as the child
         ParentWidthComponent northCentralPanel = new ParentWidthComponent( this.getContentPane(), customPanel, new BorderLayout());
         northCentralPanel.add( customPanel, BorderLayout.WEST );
         northCentralPanel.add( viewOtherAttrCheck, BorderLayout.EAST );
         centerPanel.add( BorderLayout.NORTH, northCentralPanel );
    //class code
    import java.awt.Container;
    import java.awt.Dimension;
    import java.awt.BorderLayout;
    import javax.swing.JComponent;
    import javax.swing.JPanel;
    public class ParentWidthComponent extends JPanel {
         protected Container parent;
         protected JComponent child;
         public ParentWidthComponent ( Container componentWidth, JComponent componentHeight ) {
              super();
              parent = componentWidth;
              child = componentHeight;
         public ParentWidthComponent (  Container componentWidth, JComponent componentHeight, BorderLayout manager ) {
              super(manager);
              parent = componentWidth;
              child = componentHeight;
         public Dimension getPreferredSize () {
              return  new Dimension( (int)parent.getSize().getWidth(), (int)child.getPreferredSize().getHeight() );
         }Thanks again for the suggestions.
    -Steven

  • Address book color coding?

    I have one of those, "I WANT THE WORLD of SUPER APPLICATIONS ON MY MAC" type of questions regarding names in my address book.
    I have a large address book and use smart groups and such to send out group emails to people I have selected to drop into those folders. no problem.
    However there are sometimes that I only want to send an email to particular people in those larger folders, as well as others from other groups, but never the same combinations due to the subject nature of their emails. Rather than to create several combinations of email groups (about 15 or so) it would be great if there was a way I can color code what main group these people are located in.
    So I guess my question (and I hope the answer is YES) is: Is there any way to color code each name in the address book, like you can color code files with the different colors so I can easily pick out who is a red address (business associate type 2) and who is a yellow address (business associate type 4) etc. out of my master list instead of having to take the time to go through each smart group folder individually.
    Sometimes it is far faster to simply go down my main list of addresses instead of the blocks and then go back in and delete who I do not want to send to.
    It would make what I use my address book for a lot faster if I only had to scan my master list and see who is red, yellow, purple, or nothing etc and select them that way.
    Thanks

    Well the short answer is no.
    However, are you aware that one contact can be a member of several groups? And that a group can be a member of a group? If that doesn't give you the flexibility to do what you want, consider adding keywords in the notes fields. Type one of the keywords in the search box and you can select all the matches and drag them to a To or a Bcc field ...
    AK

  • How do I move addresses from one computer to another

    Hi,
    i have a large address book on my Palm desktop which is version 4.1.4 running on Windows XP home O/S. I am trying to port these addresses on to my new laptop which is running Windows 7 Professional O/S which has version 6.2.2 palm desktop by Access.
    I tried bring all the ABA files from Palmone directory to my home directory -> Palm OS Desktop -> my profile name -> Address
    I did this previously on other computers and it always picked up the files and moved over the addresses but this time, these records are not opening up for me. When I go to Palm desktop and try File -> Open Archive -> It is actually looking at the ABA files that I brought over from my ols laptop but it failes ot fetch all records over.
    Appreciate if someone can help me resolve this ASAP.
    Thanks in advance,
    Sreen
    Post relates to: Treo 650 (Sprint)

    Try using the export procedure and then import. Make sure when you export to select all for the range.
    The best way to preserve your data is to export the data in each category in Palm Desktop to a seperate folder on your PC.
    Create a new folder on your PC somewhere that is convenient. Name it something like Palm Desktop Data. Click on the link below and follow the instructions on that page for the export procedure.
    http://www.palm.com/cgi-bin/cso_kbURL.cgi?ID=28734
    Make sure you select all for the range in the export window.
    With the data saved in the folder you created, make a copy of that folder and save to a flash drive, cd-rw or external hard drive.
    Anytime you make a change in Palm Desktop, export the data that was changed to that folder and save again to the external media.
    With this process you can always import the data back into Palm Desktop anytime you have a problem with the data in Palm Desktop or if your computer/hard drive/device crashes.
    For reference purposes, click on the following link for the support page for your device on the kb.palm.com webpage.
    http://kb.palm.com/wps/portal/kb/na/treo/650/sprin​t/home/page_en.html
    There are links on the page to the user guide, troubleshooting, how to's, downloads, etc.

  • Help, I didn't follow directions and I now really have 1 million+ garbage contacts in my address bk and can't find how to delete except one at a time.

    I had a large address book when I quit my 20yr job. Was under the gun to get info off the computer and leave and rather than go to the website (DUH) I tried some made up 'copy' to a stick, and when I went to 'paste' it into my new thunderbird personal addresses on the new home laptop, I created some mess in the address book that LITERALLY created over a million entries in the personal address book. I had to disable the start typing and match function to be able to enter an address in a new write email, and I cannot open my address book tab because it defaults to trying to open this huge file, and it goes into not responding now. I actually got it open once, highlighted first entry (blank) and scrolled to last entry and shift highlight and entered delete. but an hour later it still was working so I ended task, and now I can't even get it to pull up the list. I admit I'm an idiot, but can it be fixed???????

    Check this article for more information on moving the address book.
    http://kb.mozillazine.org/Moving_address_books_between_profiles

Maybe you are looking for

  • Error while accessing oracle packaged procedure in crystal report./ How to

    Hi, When i tried to call a packaged procedure in crystal reports for .net, i am unable to access it. i am getting error as 'unknown query engine' In that packaged procedure i have a two IN parameters and one OUT TABLE parameter ( which is declared in

  • Font is changed when print out and other issues

    Hi, I need help with some of my issues with Diadem. I am quite new with Diadem.  I use Diadem to generate report from teststands. The data is passed from Teststands - VI using Diadem connectivity toolkit and a VB script is called to generate PDF and

  • Itunes not working properly

    I need help, every time i play videos there's an error message sayings itunes not working properly even though i already updated it to newest versions?

  • Help! Is there a bug in the looping tunnels for LabVIEW 6?

    I have an application written in LabVIEW 6.0.1 where I've been having problem with. 1. Big sequence structure. In the first sequence, generate and pass a 2D array through sequence locals into a while loop in the second sequence. 2. In the while loop,

  • Danish iPhone 4 can't connect to a carrier in the UK

    Strange, never had this problem in 2 years with the same iPhone 4. I landed in the UK yesterday and swirtched off flight mode but it won't connect to a carrier. I tried switching off automatic and it then found five networks but if I select any one o